diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-06-21 21:19:43 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-06-21 21:19:43 +0000 |
commit | b085ca50950b9c76538cc7472296c84ef6cda60a (patch) | |
tree | 964bc422b4f2164031b2f2409aa8b4722e6349f5 /compiler-rt/test | |
parent | e1a50ca120fa6bed2c2391d0e43202c24046bc91 (diff) | |
download | bcm5719-llvm-b085ca50950b9c76538cc7472296c84ef6cda60a.tar.gz bcm5719-llvm-b085ca50950b9c76538cc7472296c84ef6cda60a.zip |
[libFuzzer] Filter architectures for testing on Apple platforms.
This is done in all other sanitizers, and was missing on libFuzzer.
llvm-svn: 335290
Diffstat (limited to 'compiler-rt/test')
-rw-r--r-- | compiler-rt/test/fuzzer/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/CMakeLists.txt b/compiler-rt/test/fuzzer/CMakeLists.txt index db102f90bfb..302744e8e7f 100644 --- a/compiler-rt/test/fuzzer/CMakeLists.txt +++ b/compiler-rt/test/fuzzer/CMakeLists.txt @@ -3,6 +3,10 @@ if (NOT COMPILER_RT_STANDALONE_BUILD) list(APPEND LIBFUZZER_TEST_DEPS fuzzer asan ubsan) endif() +if (APPLE) + darwin_filter_host_archs(FUZZER_SUPPORTED_ARCH FUZZER_SUPPORTED_ARCH) +endif() + if(COMPILER_RT_INCLUDE_TESTS) list(APPEND LIBFUZZER_TEST_DEPS FuzzerUnitTests) endif() |