From 6bf3494650d403ce55a3cbb15a188e33c8a5da8f Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Mon, 24 Aug 2015 23:53:28 +0000 Subject: [PATCH] broken test. uses system ld.gold 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 | 0 test/Driver/Inputs/basic_nacl_tree/bin/ld.gold | 0 test/Driver/fuse-ld.c | 6 ++++++ 3 files changed, 6 insertions(+) create mode 100644 test/Driver/Inputs/basic_nacl_tree/bin/ld create mode 100644 test/Driver/Inputs/basic_nacl_tree/bin/ld.gold diff --git a/test/Driver/Inputs/basic_nacl_tree/bin/ld b/test/Driver/Inputs/basic_nacl_tree/bin/ld new file mode 100644 index 0000000000..e69de29bb2 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 index 0000000000..e69de29bb2 diff --git a/test/Driver/fuse-ld.c b/test/Driver/fuse-ld.c index bd25b8deb3..2ab99e2817 100644 --- a/test/Driver/fuse-ld.c +++ b/test/Driver/fuse-ld.c @@ -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 -- 2.40.0