[libFuzzer] Avoid -fuse-ld=lld on gc-sections.
authorMatt Morehouse <mascasa@google.com>
Fri, 15 Jun 2018 21:01:56 +0000 (21:01 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 15 Jun 2018 21:01:56 +0000 (21:01 +0000)
The bot doesn't recognize lld as a linker even though it has the
property lld-available.

llvm-svn: 334864

compiler-rt/test/fuzzer/gc-sections.test

index 9765b39f73c6edee300214f5c54ef755d1e6909e..f831688f4724a46c318a0a69090f9d62fa04174f 100644 (file)
@@ -1,11 +1,11 @@
-REQUIRES: linux, lld-available
+REQUIRES: linux, lld
 
 No gc-sections:
 RUN: %cpp_compiler %S/GcSectionsTest.cpp -o %t
 RUN: nm %t | grep UnusedFunctionShouldBeRemovedByLinker | count 1
 
 With gc-sections. Currently, we can't remove unused code.
-RUN: %cpp_compiler %S/GcSectionsTest.cpp -o %t -ffunction-sections -Wl,-gc-sections -fuse-ld=lld
+RUN: %cpp_compiler %S/GcSectionsTest.cpp -o %t -ffunction-sections -Wl,-gc-sections
 RUN: nm %t | not grep UnusedFunctionShouldBeRemovedByLinker
 
 With gc sections, with trace-pc. Unused code is removed.