mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-05 00:05:12 -04:00
Add -g3 debug information to ASAN builds (#641)
This helps track where it's crashing
This commit is contained in:
parent
24eb40f121
commit
5437264139
@ -30,7 +30,7 @@ function(append value)
|
|||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
if(USE_SANITIZER)
|
if(USE_SANITIZER)
|
||||||
append("-fno-omit-frame-pointer" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
append("-fno-omit-frame-pointer -g3" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
|
|
||||||
@ -86,4 +86,4 @@ if(USE_SANITIZER)
|
|||||||
message(FATAL_ERROR "USE_SANITIZER is not supported on this platform.")
|
message(FATAL_ERROR "USE_SANITIZER is not supported on this platform.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user