diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-11-19 02:08:22 -0500 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-11-19 02:08:22 -0500 |
commit | d044dcc5e492181b1517347013a780d9eda6c3c3 (patch) | |
tree | 6ada5dab5a159443e1178fffac69e898b09f100e /clang/test/InterfaceStubs/driver-test.c | |
parent | 58ea00b51fe9b011301484957556872fced7dd08 (diff) | |
download | bcm5719-llvm-d044dcc5e492181b1517347013a780d9eda6c3c3.tar.gz bcm5719-llvm-d044dcc5e492181b1517347013a780d9eda6c3c3.zip |
Revert "[clang][IFS] Driver pipeline: generate interface stubs after standard pipeline."
This reverts commit 58ea00b51fe9b011301484957556872fced7dd08.
Test for .o + .ifs sidecar files is brittle and failing on bots.
Reverting to unblock.
Diffstat (limited to 'clang/test/InterfaceStubs/driver-test.c')
-rw-r--r-- | clang/test/InterfaceStubs/driver-test.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/clang/test/InterfaceStubs/driver-test.c b/clang/test/InterfaceStubs/driver-test.c index bb2868f6df0..d4e50295411 100644 --- a/clang/test/InterfaceStubs/driver-test.c +++ b/clang/test/InterfaceStubs/driver-test.c @@ -1,13 +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; } -int main() { return foo(23); } |