[libFuzzer] Filter architectures for testing on Apple platforms.

This is done in all other sanitizers, and was missing on libFuzzer.

llvm-svn: 335290
This commit is contained in:
George Karpenkov 2018-06-21 21:19:43 +00:00
parent e1a50ca120
commit b085ca5095
1 changed files with 4 additions and 0 deletions

View File

@ -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()