Debian Codegraph @

clang/test/PCH/debug-info-pch-container-path.c

raw
1 // REQUIRES: asserts
2
3 // Modules:
4 // RUN: rm -rf %t
5 // RUN: mkdir %t
6 // RUN: cd %t
7
8 // RUN: %clang_cc1 -fmodule-format=obj -emit-pch \
9 // RUN: -triple %itanium_abi_triple \
10 // RUN: -fdebug-prefix-map=%t=BUILD \
11 // RUN: -fdebug-prefix-map=%S=SOURCE \
12 // RUN: -fdebug-compilation-dir=%t \
13 // RUN: -o %t/prefix.ll %S/debug-info-limited-struct.h \
14 // RUN: -mllvm -debug-only=pchcontainer &>%t-container.ll
15 // RUN: cat %t-container.ll | FileCheck %s
16
17 // CHECK: distinct !DICompileUnit(
18 // CHECK-SAME: language: DW_LANG_C{{[^,]*}},
19 // CHECK-SAME: file: ![[FILE:[0-9]+]],
20 // CHECK: ![[FILE]] = !DIFile(
21 // CHECK-SAME: filename: "SOURCE/debug-info-limited-struct.h",
22 // CHECK-SAME: directory: "BUILD"
23