mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-01 12:33:45 +00:00
update the workaround
This commit is contained in:
parent
5b7327d22f
commit
2057c42b98
@ -2,15 +2,16 @@ Index: llvm-toolchain-snapshot_10~svn369866/compiler-rt/lib/gwp_asan/CMakeLists.
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_10~svn369866.orig/compiler-rt/lib/gwp_asan/CMakeLists.txt
|
||||
+++ llvm-toolchain-snapshot_10~svn369866/compiler-rt/lib/gwp_asan/CMakeLists.txt
|
||||
@@ -105,9 +105,8 @@ if (COMPILER_RT_HAS_GWP_ASAN)
|
||||
@@ -105,9 +105,9 @@ if (COMPILER_RT_HAS_GWP_ASAN)
|
||||
# core is to link it against a dummy main when DLLVM_USE_SANITIZE_COVERAGE
|
||||
# isn't specified. Instead, here we only build fuzz targets if clang version
|
||||
# is >= 6.0.
|
||||
- if (COMPILER_RT_BUILD_LIBFUZZER AND
|
||||
- "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
|
||||
- CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6.0)
|
||||
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
|
||||
+ COMPILER_RT_BUILD_LIBFUZZER)
|
||||
+ if (COMPILER_RT_BUILD_LIBFUZZER AND
|
||||
+ ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") AND
|
||||
+ CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6.0)
|
||||
add_executable(stack_trace_compressor_fuzzer
|
||||
stack_trace_compressor_fuzzer.cpp
|
||||
${GWP_ASAN_SOURCES}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user