From 98cd57379c202511e1740fac8b66bdfef0527f79 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 llvm-svn: 245909 --- clang/test/Driver/Inputs/basic_nacl_tree/bin/ld | 0 clang/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold | 0 clang/test/Driver/fuse-ld.c | 6 ++++++ 3 files changed, 6 insertions(+) create mode 100644 clang/test/Driver/Inputs/basic_nacl_tree/bin/ld create mode 100644 clang/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold diff --git a/clang/test/Driver/Inputs/basic_nacl_tree/bin/ld b/clang/test/Driver/Inputs/basic_nacl_tree/bin/ld new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/clang/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold b/clang/test/Driver/Inputs/basic_nacl_tree/bin/ld.gold new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/clang/test/Driver/fuse-ld.c b/clang/test/Driver/fuse-ld.c index bd25b8deb328..2ab99e281734 100644 --- a/clang/test/Driver/fuse-ld.c +++ b/clang/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