From e782192d5e6540b0cbb957a6b738d98e24c88ee3 Mon Sep 17 00:00:00 2001 From: Puyan Lotfi Date: Wed, 13 Nov 2019 23:58:09 -0500 Subject: [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. --- clang/test/InterfaceStubs/template-namespace-function.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'clang/test/InterfaceStubs/template-namespace-function.cpp') diff --git a/clang/test/InterfaceStubs/template-namespace-function.cpp b/clang/test/InterfaceStubs/template-namespace-function.cpp index ad8606757c9..47788d4a3e0 100644 --- a/clang/test/InterfaceStubs/template-namespace-function.cpp +++ b/clang/test/InterfaceStubs/template-namespace-function.cpp @@ -1,16 +1,15 @@ // REQUIRES: x86-registered-target -// RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs -emit-merged-ifs \ -// RUN: -interface-stub-version=experimental-ifs-v1 %s | \ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -o - -emit-interface-stubs %s | \ // RUN: FileCheck %s // RUN: %clang -target x86_64-unknown-linux-gnu -o - -c %s | llvm-nm - 2>&1 | \ // RUN: FileCheck -check-prefix=CHECK-SYMBOLS %s // CHECK: Symbols: -// CHECK-DAG: _ZN3qux3barEii: { Type: Func } -// CHECK-DAG: _ZN3baz3addIiEET_S1_S1_: { Type: Func } -// CHECK-DAG: _Z4fbarff: { Type: Func } -// CHECK-DAG: _ZN3baz3addIfEET_S1_S1_: { Type: Func } +// CHECK-DAG: "_ZN3qux3barEii" : { Type: Func } +// CHECK-DAG: "_ZN3baz3addIiEET_S1_S1_" : { Type: Func } +// CHECK-DAG: "_Z4fbarff" : { Type: Func } +// CHECK-DAG: "_ZN3baz3addIfEET_S1_S1_" : { Type: Func } // Same symbols just different order. // CHECK-SYMBOLS-DAG: _Z4fbarff -- cgit v1.2.3