annotate clang/test/PCH/debug-info-pch-container-path.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 1f2b6ac9f198
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // REQUIRES: asserts
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // Modules:
anatofuz
parents:
diff changeset
4 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
5 // RUN: mkdir %t
anatofuz
parents:
diff changeset
6 // RUN: cd %t
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // RUN: %clang_cc1 -fmodule-format=obj -emit-pch \
anatofuz
parents:
diff changeset
9 // RUN: -triple %itanium_abi_triple \
anatofuz
parents:
diff changeset
10 // RUN: -fdebug-prefix-map=%t=BUILD \
anatofuz
parents:
diff changeset
11 // RUN: -fdebug-prefix-map=%S=SOURCE \
anatofuz
parents:
diff changeset
12 // RUN: -o %t/prefix.ll %S/debug-info-limited-struct.h \
anatofuz
parents:
diff changeset
13 // RUN: -mllvm -debug-only=pchcontainer &>%t-container.ll
anatofuz
parents:
diff changeset
14 // RUN: cat %t-container.ll | FileCheck %s
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 // CHECK: distinct !DICompileUnit(
anatofuz
parents:
diff changeset
17 // CHECK-SAME: language: DW_LANG_C99,
anatofuz
parents:
diff changeset
18 // CHECK-SAME: file: ![[FILE:[0-9]+]],
anatofuz
parents:
diff changeset
19 // CHECK: ![[FILE]] = !DIFile(
anatofuz
parents:
diff changeset
20 // CHECK-SAME: filename: "SOURCE/debug-info-limited-struct.h",
anatofuz
parents:
diff changeset
21 // CHECK-SAME: directory: "BUILD"
anatofuz
parents:
diff changeset
22