[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[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"