summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/weak.cpp
diff options
context:
space:
mode:
authorPuyan Lotfi <puyan@puyan.org>2019-11-13 23:58:09 -0500
committerPuyan Lotfi <puyan@puyan.org>2019-11-14 02:25:22 -0500
commite782192d5e6540b0cbb957a6b738d98e24c88ee3 (patch)
treeb10b52663a3deaea307fc8bfbac352bbd62e9ba0 /clang/test/InterfaceStubs/weak.cpp
parent3db6783d8a7da05a5949bb18e6c8809306c9d0de (diff)
downloadbcm5719-llvm-e782192d5e6540b0cbb957a6b738d98e24c88ee3.tar.gz
bcm5719-llvm-e782192d5e6540b0cbb957a6b738d98e24c88ee3.zip
[clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often.
Unless the test is explicitly testing a driver feature if clang interface stubs I have changed the tests to use %clang_cc1. This should make some changes I plan to make to the driver job pipeline cause fewer test changes and breakages.
Diffstat (limited to 'clang/test/InterfaceStubs/weak.cpp')
-rw-r--r--clang/test/InterfaceStubs/weak.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/InterfaceStubs/weak.cpp b/clang/test/InterfaceStubs/weak.cpp
index e1c2c232a9d..1581ffa9d5d 100644
--- a/clang/test/InterfaceStubs/weak.cpp
+++ b/clang/test/InterfaceStubs/weak.cpp
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
-// RUN: %clang -target x86_64-linux-gnu -o - -emit-interface-stubs -emit-merged-ifs \
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -o - -emit-interface-stubs \
// RUN: -interface-stub-version=experimental-ifs-v1 %s | \
// RUN: FileCheck %s
@@ -7,8 +7,8 @@
// RUN: FileCheck -check-prefix=CHECK-SYMBOLS %s
// CHECK: Symbols:
-// CHECK-DAG: _Z8weakFuncv: { Type: Func, Weak: true }
-// CHECK-DAG: _Z10strongFuncv: { Type: Func }
+// CHECK-DAG: "_Z8weakFuncv" : { Type: Func, Weak: true }
+// CHECK-DAG: "_Z10strongFuncv" : { Type: Func }
// CHECK-SYMBOLS-DAG: _Z10strongFuncv
// CHECK-SYMBOLS-DAG: _Z8weakFuncv
OpenPOWER on IntegriCloud