aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-preprocessed-file.i
blob: c8a2307d46c3163b4dd37756b10c59f1865f832a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 1 "/foo/bar/preprocessed-input.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 318 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "preprocessed-input.c" 2

/// The main file is preprocessed. We change it to preprocessed-input.c. Since
/// the content is not available, we don't compute a checksum.
// RUN: %clang -g -c -S -emit-llvm -o - %s | FileCheck %s
// CHECK: !DICompileUnit(language: DW_LANG_C{{.*}}, file: ![[FILE:[0-9]+]]
// CHECK: ![[FILE]] = !DIFile(filename: "/foo/bar/preprocessed-input.c"
// CHECK-NOT: checksumkind:
// CHECK-NOT: !DIFile(