Give this test that uses Itanium mangling a triple
authorReid Kleckner <rnk@google.com>
Wed, 30 Nov 2016 00:31:16 +0000 (00:31 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 30 Nov 2016 00:31:16 +0000 (00:31 +0000)
llvm-svn: 288222

clang/test/Frontend/plugin-vs-debug-info.cpp

index dceb2f1..27631e5 100644 (file)
@@ -2,8 +2,10 @@
 // happens to use a RecursiveASTVisitor that forces deserialization of AST
 // files.
 //
-// RUN: %clang_cc1 -fdelayed-template-parsing -std=c++14 -emit-pch -o %t.pch %s
-// RUN: %clang_cc1 -load %llvmshlibdir/PrintFunctionNames%pluginext \
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fdelayed-template-parsing \
+// RUN:      -std=c++14 -emit-pch -o %t.pch %s
+// RUN: %clang_cc1 -triple %itanium_abi_triple \
+// RUN:     -load %llvmshlibdir/PrintFunctionNames%pluginext \
 // RUN:     -add-plugin print-fns -std=c++14 -include-pch %t.pch %s -emit-llvm \
 // RUN:     -fdelayed-template-parsing -debug-info-kind=limited \
 // RUN:     -o %t.ll 2>&1 | FileCheck --check-prefix=DECLS %s