[PATCH] D11737: Add -linker (and -linker=) alias for -fuse-ld=
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 24 17:49:16 PDT 2015
echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.
One inline comment and then OK.
-eric
================
Comment at: test/Driver/fuse-ld.c:27-33
@@ -26,1 +26,9 @@
+// -linker= is an alias to fuse-ld. Don't need to retry all combinations
+// RUN: %clang %s -### -linker gold \
+// RUN: --sysroot=%S/Inputs/basic_freebsd_tree \
+// RUN: -target x86_64-unknown-freebsd \
+// RUN: -B%S/Inputs/basic_freebsd_tree/usr/bin 2>&1 \
+// RUN: | FileCheck %s -check-prefix=CHECK-FREEBSD-GOLD
+// CHECK-FREEBSD-LINKER-GOLD: Inputs/basic_freebsd_tree/usr/bin{{/|\\+}}ld.gold
+
----------------
Bet this doesn't work :)
http://reviews.llvm.org/D11737
More information about the cfe-commits
mailing list