summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/ExtDebugInfo.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-09-11 17:50:14 +0000
committerReid Kleckner <rnk@google.com>2015-09-11 17:50:14 +0000
commit854a2b7f76f7c270524a539d783d998ad9ee2d89 (patch)
tree6d7913d37c0446d5a66e6ebc2c59dcd447381f29 /clang/test/Modules/ExtDebugInfo.cpp
parent276d5d9fbc7b0cf9bcd32adff7ed1a0f9bd6819e (diff)
downloadbcm5719-llvm-854a2b7f76f7c270524a539d783d998ad9ee2d89.tar.gz
bcm5719-llvm-854a2b7f76f7c270524a539d783d998ad9ee2d89.zip
Use Itanium C++ ABI triple for new modules+debug test
llvm-svn: 247438
Diffstat (limited to 'clang/test/Modules/ExtDebugInfo.cpp')
-rw-r--r--clang/test/Modules/ExtDebugInfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Modules/ExtDebugInfo.cpp b/clang/test/Modules/ExtDebugInfo.cpp
index 91b9a770e67..3bb6aa1b45d 100644
--- a/clang/test/Modules/ExtDebugInfo.cpp
+++ b/clang/test/Modules/ExtDebugInfo.cpp
@@ -4,13 +4,16 @@
// Modules:
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -g -dwarf-ext-refs -fmodules \
// RUN: -fmodule-format=obj -fimplicit-module-maps -DMODULES \
+// RUN: -triple %itanium_abi_triple \
// RUN: -fmodules-cache-path=%t %s -I %S/Inputs -I %t -emit-llvm -o %t-mod.ll
// RUN: cat %t-mod.ll | FileCheck %s
// PCH:
// RUN: %clang_cc1 -x c++ -std=c++11 -fmodule-format=obj -emit-pch -I%S/Inputs \
+// RUN: -triple %itanium_abi_triple \
// RUN: -o %t.pch %S/Inputs/DebugCXX.h
// RUN: %clang_cc1 -std=c++11 -g -dwarf-ext-refs -fmodule-format=obj \
+// RUN: -triple %itanium_abi_triple \
// RUN: -include-pch %t.pch %s -emit-llvm -o %t-pch.ll %s
// RUN: cat %t-pch.ll | FileCheck %s
@@ -66,4 +69,4 @@ char _anchor = anon_enum + conflicting_uid;
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, scope: ![[NS]],
// CHECK-SAME: line: 16
-// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !0, entity: !"_ZTSN8DebugCXX6StructE", line: 21)
+// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !0, entity: !"_ZTSN8DebugCXX6StructE", line: 24)
OpenPOWER on IntegriCloud