summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2018-07-12 18:52:10 +0000
committerMatt Morehouse <mascasa@google.com>2018-07-12 18:52:10 +0000
commit24d617cbee3286ef6997a62434be00d7190d8b01 (patch)
tree4f47c6997442113d2369ba1430a8cbe79e28574a
parent746e35e8a13b35197f9ede1cf5b4e7629c18ff75 (diff)
downloadbcm5719-llvm-24d617cbee3286ef6997a62434be00d7190d8b01.tar.gz
bcm5719-llvm-24d617cbee3286ef6997a62434be00d7190d8b01.zip
[libFuzzer] If LLD available, require it to build first.
Since we now have a test that requires LLD, make sure it is built before that test runs. llvm-svn: 336932
-rw-r--r--compiler-rt/test/fuzzer/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/CMakeLists.txt b/compiler-rt/test/fuzzer/CMakeLists.txt
index bd3869807c8..38970749d05 100644
--- a/compiler-rt/test/fuzzer/CMakeLists.txt
+++ b/compiler-rt/test/fuzzer/CMakeLists.txt
@@ -1,6 +1,9 @@
set(LIBFUZZER_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
if (NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND LIBFUZZER_TEST_DEPS fuzzer asan ubsan)
+ if(NOT APPLE AND COMPILER_RT_HAS_LLD)
+ list(APPEND LIBFUZZER_TEST_DEPS lld)
+ endif()
endif()
if (APPLE)
OpenPOWER on IntegriCloud