]> granicus.if.org Git - clang/commitdiff
broken test. uses system ld.gold
authorDerek Schuff <dschuff@google.com>
Mon, 24 Aug 2015 23:53:28 +0000 (23:53 +0000)
committerDerek Schuff <dschuff@google.com>
Mon, 24 Aug 2015 23:53:28 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245909 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/Inputs/basic_nacl_tree/bin/ld [new file with mode: 0644]
test/Driver/Inputs/basic_nacl_tree/bin/ld.gold [new file with mode: 0644]
test/Driver/fuse-ld.c

diff --git a/test/Driver/Inputs/basic_nacl_tree/bin/ld b/test/Driver/Inputs/basic_nacl_tree/bin/ld
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold b/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold
new file mode 100644 (file)
index 0000000..e69de29
index bd25b8deb3289f4fada7c1964969c25d8a18973e..2ab99e2817345b23d88ae0ef07552b0c8e454260 100644 (file)
@@ -61,3 +61,9 @@
 // RUN:     -gcc-toolchain %S/Inputs/basic_android_tree 2>&1 \
 // RUN:   | FileCheck %s -check-prefix=CHECK-ANDROID-ARM-GOLD-TC
 // CHECK-ANDROID-ARM-GOLD-TC: Inputs/basic_android_tree/lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin{{/|\\+}}ld.gold
+
+// RUN: %clang %s -### -fuse-ld=gold \
+// RUN:     -target i686-unknown-nacl \
+// RUN:     -B%S/Inputs/basic_nacl_tree/bin 2>&1 \
+// RUN:   | FileCheck %s -check-prefix=CHECK-NACL-GOLD-TC
+// CHECK-NACL-GOLD-TC: ld.gold