summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/B-opt.c
diff options
context:
space:
mode:
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2017-01-08 10:04:07 +0000
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2017-01-08 10:04:07 +0000
commit1cdcf8f8c64cb2795e5d7ca7b781991edb8a6d9a (patch)
tree83a115b0b9f9485d8d321317b9b3ccd2662f2b6f /clang/test/Driver/B-opt.c
parent9e2dceba19a3f1591d983365f38084f5cbe7374b (diff)
downloadbcm5719-llvm-1cdcf8f8c64cb2795e5d7ca7b781991edb8a6d9a.tar.gz
bcm5719-llvm-1cdcf8f8c64cb2795e5d7ca7b781991edb8a6d9a.zip
Fix tests with CLANG_DEFAULT_LINKER
I originally requested this to be tested in D25263 but in the end forgot to make sure that it was done. Differential Revision: https://reviews.llvm.org/D28289 llvm-svn: 291389
Diffstat (limited to 'clang/test/Driver/B-opt.c')
-rw-r--r--clang/test/Driver/B-opt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Driver/B-opt.c b/clang/test/Driver/B-opt.c
index 318009413b1..51273fd7b82 100644
--- a/clang/test/Driver/B-opt.c
+++ b/clang/test/Driver/B-opt.c
@@ -1,22 +1,22 @@
// Check -B driver option.
//
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
-// RUN: -B %S/Inputs/B_opt_tree/dir1 2>&1 \
+// RUN: -B %S/Inputs/B_opt_tree/dir1 -fuse-ld=ld 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-TRIPLE %s
// CHECK-B-OPT-TRIPLE: "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\\\}}i386-unknown-linux-ld"
//
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
-// RUN: -B %S/Inputs/B_opt_tree/dir2 2>&1 \
+// RUN: -B %S/Inputs/B_opt_tree/dir2 -fuse-ld=ld 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-DIR %s
// CHECK-B-OPT-DIR: "{{.*}}/Inputs/B_opt_tree/dir2{{/|\\\\}}ld"
//
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
-// RUN: -B %S/Inputs/B_opt_tree/dir3/prefix- 2>&1 \
+// RUN: -B %S/Inputs/B_opt_tree/dir3/prefix- -fuse-ld=ld 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-PREFIX %s
// CHECK-B-OPT-PREFIX: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\\\}}prefix-ld"
//
// RUN: %clang %s -### -o %t.o -target i386-unknown-linux \
// RUN: -B %S/Inputs/B_opt_tree/dir3/prefix- \
-// RUN: -B %S/Inputs/B_opt_tree/dir2 2>&1 \
+// RUN: -B %S/Inputs/B_opt_tree/dir2 2>&1 -fuse-ld=ld \
// RUN: | FileCheck --check-prefix=CHECK-B-OPT-MULT %s
// CHECK-B-OPT-MULT: "{{.*}}/Inputs/B_opt_tree/dir3{{/|\\\\}}prefix-ld"
OpenPOWER on IntegriCloud