Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / debug-info-embed-source.c
blobdaa6a6c468ed0f7bb66b0e905e8a6180da840976
1 // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm %p/Inputs/debug-info-embed-source.c -o - | FileCheck %s --check-prefix=NOEMBED
2 // RUN: %clang_cc1 -gembed-source -debug-info-kind=limited -emit-llvm %p/Inputs/debug-info-embed-source.c -o - | FileCheck %s --check-prefix=EMBED
4 // NOEMBED-NOT: !DIFile({{.*}}source:
5 // EMBED: !DIFile({{.*}}source: "void foo(void) { }\0A"