[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / debug-info-pch-container-path.c
blob257cbf54e06bc11ddf1923acc915c51002eac755
1 // REQUIRES: asserts
3 // Modules:
4 // RUN: rm -rf %t
5 // RUN: mkdir %t
6 // RUN: cd %t
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
16 // CHECK: distinct !DICompileUnit(
17 // CHECK-SAME: language: DW_LANG_C{{[^,]*}},
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"