disable-fuzzer-compiler-rt-x86

===================================================================

Gbp-Pq: Name disable-fuzzer-compiler-rt-x86.diff
This commit is contained in:
Ubuntu Developers 2022-07-16 17:45:43 +08:00 committed by Lu zhiping
parent ea5c4ab3ac
commit 725146a125
2 changed files with 8 additions and 2 deletions

View File

@ -57,5 +57,8 @@ if(COMPILER_RT_BUILD_XRAY)
endif()
if(COMPILER_RT_BUILD_LIBFUZZER)
compiler_rt_build_runtime(fuzzer)
if(NOT(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i386" OR CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i686"))
# Disabled because of https://bugs.llvm.org/show_bug.cgi?id=43677
compiler_rt_build_runtime(fuzzer)
endif()
endif()

View File

@ -55,7 +55,10 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
# OpenBSD not supporting asan, cannot run the tests
if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID)
compiler_rt_test_runtime(fuzzer)
if(NOT(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i386" OR CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i686"))
# Disabled because of https://bugs.llvm.org/show_bug.cgi?id=43677
compiler_rt_test_runtime(fuzzer)
endif()
endif()
foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD})