Mercurial > hg > CbC > CbC_llvm
comparison 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 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
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 |