build CHANGE get nicer stack traces from ASan
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d80ef4e..1bab1e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -423,7 +423,7 @@
if (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
message(FATAL_ERROR "LibFuzzer works only with clang")
endif()
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address,undefined")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address,undefined -fno-omit-frame-pointer")
endif()
add_subdirectory(tests/fuzz)
endif(ENABLE_FUZZ_TARGETS)