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:     -o %t/prefix.ll %S/debug-info-limited-struct.h      \
13 // RUN:   -mllvm -debug-only=pchcontainer &>%t-container.ll
14 // RUN: cat %t-container.ll | FileCheck %s
15 
16 // CHECK: distinct !DICompileUnit(
17 // CHECK-SAME:                    language: DW_LANG_C99,
18 // CHECK-SAME:                    file: ![[FILE:[0-9]+]],
19 // CHECK: ![[FILE]] = !DIFile(
20 // CHECK-SAME:                filename: "SOURCE/debug-info-limited-struct.h",
21 // CHECK-SAME:                directory: "BUILD"
22 
23