diff options
author | Matt Morehouse <mascasa@google.com> | 2018-07-12 18:52:10 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2018-07-12 18:52:10 +0000 |
commit | a1cacd32c03a747be9ccef8be8d3f35d7c3484b4 (patch) | |
tree | 5aaad66144f0ebdd33d9f90800ced0b3808e07e6 /test | |
parent | 28aa84d6feb385802d7543ab8ebe915c9316a30d (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzzer/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fuzzer/CMakeLists.txt b/test/fuzzer/CMakeLists.txt index bd3869807..38970749d 100644 --- a/test/fuzzer/CMakeLists.txt +++ b/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) |