Author: zer0 Date: Wed Oct 2 18:19:51 2019 New Revision: 373552 URL: http://llvm.org/viewvc/llvm-project?rev=373552&view=rev Log: Fixing broken builds due to r373538, issues with filepath and hexagon toolchain.
It appears there are some issues with the hexagon toolchain, and also the file path for the library file. If this doesn't fix the remaining breakages I will attempt a revert. Modified: cfe/trunk/test/InterfaceStubs/driver-test.c Modified: cfe/trunk/test/InterfaceStubs/driver-test.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/InterfaceStubs/driver-test.c?rev=373552&r1=373551&r2=373552&view=diff ============================================================================== --- cfe/trunk/test/InterfaceStubs/driver-test.c (original) +++ cfe/trunk/test/InterfaceStubs/driver-test.c Wed Oct 2 18:19:51 2019 @@ -1,12 +1,19 @@ -// RUN: %clang -x c -o libfoo.so -emit-interface-stubs %s %S/object.c %S/weak.cpp && \ -// RUN: llvm-nm libfoo.so 2>&1 | FileCheck %s +// REQUIRES: x86-registered-target -// RUN: %clang -x c -o libfoo.so -shared %s %S/object.c %S/weak.cpp && \ -// RUN: llvm-nm libfoo.so 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 +// RUN: %clang -target x86_64-unknown-linux-gnu -x c -o %t2.so -shared %s %S/object.c %S/weak.cpp && \ +// RUN: llvm-nm %t2.so 2>&1 | FileCheck --check-prefix=CHECK-SO %s -int foo(int bar) { return 42 + 1844; } \ No newline at end of file +// CHECK-IFS-DAG: data +// CHECK-IFS-DAG: foo +// CHECK-IFS-DAG: strongFunc +// CHECK-IFS-DAG: weakFunc + +// CHECK-SO-DAG: data +// CHECK-SO-DAG: foo +// CHECK-SO-DAG: strongFunc +// CHECK-SO-DAG: weakFunc + +int foo(int bar) { return 42 + 1844; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits