From f37356d6f60ae5db978611621d3a375ed87ec0f0 Mon Sep 17 00:00:00 2001 From: Puyan Lotfi Date: Tue, 19 Nov 2019 21:42:17 -0500 Subject: [PATCH] [clang][IFS][test] Removing driver-test.c. Test is still too brittle. Removing this test because if I add a triple then there are link falures on targets like ppc and s390x. If I don't add a triple then on PS4 targets the clang driver tries to invoke orbis-ld which ends up being not found. --- clang/test/InterfaceStubs/driver-test.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 clang/test/InterfaceStubs/driver-test.c diff --git a/clang/test/InterfaceStubs/driver-test.c b/clang/test/InterfaceStubs/driver-test.c deleted file mode 100644 index 425d87271f33..000000000000 --- a/clang/test/InterfaceStubs/driver-test.c +++ /dev/null @@ -1,15 +0,0 @@ -// REQUIRES: x86-registered-target -// REQUIRES: !powerpc-registered-target -// REQUIRES: !system-darwin && !system-windows - -// RUN: %clang -o %t1 -target x86_64-unknown-linux-gnu \ -// RUN: -emit-interface-stubs -emit-merged-ifs %s %S/object.c %S/weak.cpp -// RUN: cat %t1.ifs | FileCheck %s - -// CHECK-DAG: data -// CHECK-DAG: foo -// CHECK-DAG: strongFunc -// CHECK-DAG: weakFunc - -int foo(int bar) { return 42 + 1844; } -int main() { return foo(23); }