mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
don't recover from sanitizer errors
This commit is contained in:
parent
fbb7c0d6f9
commit
e9d1a61053
@ -115,9 +115,9 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux" AND SHADOW)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(XSAN)
|
if(XSAN)
|
||||||
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fsanitize=${XSAN} -fno-omit-frame-pointer")
|
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fsanitize=${XSAN} -fno-omit-frame-pointer -fno-sanitize-recover")
|
||||||
foreach(type EXE MODULE SHARED STATIC)
|
foreach(type EXE MODULE SHARED STATIC)
|
||||||
string(APPEND CMAKE_${type}_LINKER_FLAGS_DEBUG " -fsanitize=${XSAN} -fno-omit-frame-pointer")
|
string(APPEND CMAKE_${type}_LINKER_FLAGS_DEBUG " -fsanitize=${XSAN} -fno-omit-frame-pointer -fno-sanitize-recover")
|
||||||
endforeach()
|
endforeach()
|
||||||
message(STATUS "Doing a ${XSAN} sanitizer build")
|
message(STATUS "Doing a ${XSAN} sanitizer build")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user