| 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 |
| 3 | |
| 4 | // NOEMBED-NOT: !DIFile({{.*}}source: |
| 5 | // EMBED: !DIFile({{.*}}source: "void foo() { }\0A" |
| 6 |