diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-02-12 01:00:08 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-02-12 01:00:08 +0000 |
| commit | 73bf6d5b350067a6ba4e45098fcedf23fa1cb4bc (patch) | |
| tree | 9b4281a8698e6424cff6dccaa3f9281b2f34e85c /compiler-rt/lib/fuzzer/tests | |
| parent | 56b2d57cbf6b3f71a0b3af0dd44bdf01a0e1bc29 (diff) | |
| download | bcm5719-llvm-73bf6d5b350067a6ba4e45098fcedf23fa1cb4bc.tar.gz bcm5719-llvm-73bf6d5b350067a6ba4e45098fcedf23fa1cb4bc.zip | |
[libFuzzer] replace slow std::mt19937 with a much faster std::minstd_rand; second attempt after failed r352732, this time with a fix for cmake
llvm-svn: 353782
Diffstat (limited to 'compiler-rt/lib/fuzzer/tests')
| -rw-r--r-- | compiler-rt/lib/fuzzer/tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/tests/CMakeLists.txt b/compiler-rt/lib/fuzzer/tests/CMakeLists.txt index 6abb72def3e..485153be730 100644 --- a/compiler-rt/lib/fuzzer/tests/CMakeLists.txt +++ b/compiler-rt/lib/fuzzer/tests/CMakeLists.txt @@ -46,7 +46,8 @@ if(COMPILER_RT_DEFAULT_TARGET_ARCH IN_LIST FUZZER_SUPPORTED_ARCH) FOLDER "Compiler-RT Runtime tests") if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" AND COMPILER_RT_LIBCXX_PATH) - set(LIBFUZZER_TEST_RUNTIME_DEPS libcxx_fuzzer_${arch}-build) + file(GLOB libfuzzer_headers ../*.h) + set(LIBFUZZER_TEST_RUNTIME_DEPS libcxx_fuzzer_${arch}-build ${libfuzzer_headers}) set(LIBFUZZER_TEST_RUNTIME_CFLAGS -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1) set(LIBFUZZER_TEST_RUNTIME_LINK_FLAGS ${LIBCXX_${arch}_PREFIX}/lib/libc++.a) endif() |

