summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPuyan Lotfi <puyan@puyan.org>2019-11-14 03:39:16 -0500
committerPuyan Lotfi <puyan@puyan.org>2019-11-14 03:39:16 -0500
commit4873319f973ba86c5d1226e87cdc3a7c085451bb (patch)
tree36dcadffe527570ae423f7e423ba52cf899b08f0
parentc72aef999c3359f4305bf99116be604e16844aab (diff)
downloadbcm5719-llvm-4873319f973ba86c5d1226e87cdc3a7c085451bb.tar.gz
bcm5719-llvm-4873319f973ba86c5d1226e87cdc3a7c085451bb.zip
[clang][IFS][test] Reverting driver-test.c to what it was prior to e782192d5e6
My mistake. Changes I had in this test were for code changes that are not landed yet. I am reverting driver-test.c back to what it was originally.
-rw-r--r--clang/test/InterfaceStubs/driver-test.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/clang/test/InterfaceStubs/driver-test.c b/clang/test/InterfaceStubs/driver-test.c
index b61bed10e77..d4e50295411 100644
--- a/clang/test/InterfaceStubs/driver-test.c
+++ b/clang/test/InterfaceStubs/driver-test.c
@@ -1,12 +1,11 @@
// REQUIRES: x86-registered-target
-// RUN: %clang -target x86_64-unknown-linux-gnu -x c -o %t1 -emit-interface-stubs %s %S/object.c %S/weak.cpp
-// RUN: llvm-nm %t1 2>&1 | FileCheck %s
-// RUN: llvm-nm %t1.ifso 2>&1 | FileCheck %s
+// RUN: %clang -target x86_64-unknown-linux-gnu -x c -o %t1.so -emit-interface-stubs %s %S/object.c %S/weak.cpp && \
+// RUN: llvm-nm %t1.so 2>&1 | FileCheck --check-prefix=CHECK-IFS %s
-// CHECK-DAG: data
-// CHECK-DAG: foo
-// CHECK-DAG: strongFunc
-// CHECK-DAG: weakFunc
+// CHECK-IFS-DAG: data
+// CHECK-IFS-DAG: foo
+// CHECK-IFS-DAG: strongFunc
+// CHECK-IFS-DAG: weakFunc
int foo(int bar) { return 42 + 1844; }
OpenPOWER on IntegriCloud