[compiler-rt] r335290 - [libFuzzer] Filter architectures for testing on Apple platforms.
George Karpenkov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 14:19:43 PDT 2018
Author: george.karpenkov
Date: Thu Jun 21 14:19:43 2018
New Revision: 335290
URL: http://llvm.org/viewvc/llvm-project?rev=335290&view=rev
Log:
[libFuzzer] Filter architectures for testing on Apple platforms.
This is done in all other sanitizers, and was missing on libFuzzer.
Modified:
compiler-rt/trunk/test/fuzzer/CMakeLists.txt
Modified: compiler-rt/trunk/test/fuzzer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/CMakeLists.txt?rev=335290&r1=335289&r2=335290&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/fuzzer/CMakeLists.txt Thu Jun 21 14:19:43 2018
@@ -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()
More information about the llvm-commits
mailing list