xref: /llvm-project/clang/test/CodeGen/debug-info-preprocessed-file.i (revision 831484efa06bee798e218813cb1890ef108ed519)
1 # 1 "/foo/bar/preprocessed-input.c"
2 # 1 "<built-in>" 1
3 # 1 "<built-in>" 3
4 # 318 "<built-in>" 3
5 # 1 "<command line>" 1
6 # 1 "<built-in>" 2
7 # 1 "preprocessed-input.c" 2
8 
9 /// The main file is preprocessed. We change it to preprocessed-input.c. Since
10 /// the content is not available, we don't compute a checksum.
11 // RUN: %clang -g -c -S -emit-llvm -o - %s | FileCheck %s
12 // CHECK: !DICompileUnit(language: DW_LANG_C{{.*}}, file: ![[FILE:[0-9]+]]
13 // CHECK: ![[FILE]] = !DIFile(filename: "/foo/bar/preprocessed-input.c"
14 // CHECK-NOT: checksumkind:
15 // CHECK-NOT: !DIFile(
16