File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ project(mapcode_cpp)
18
18
# The debug configuration adds the "address sanitizer" to check for out of bounds behavior and such.
19
19
# You may wish to set the following environment variables during runtime as well:
20
20
#
21
- # export ASAN_OPTIONS=verbosity=2:debug=true:strict_string_checks=1:detect_stack_use_after_return=true:
22
- # detect_invalid_pointer_pairs=99999:
23
- # detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true
21
+ # export ASAN_OPTIONS=debug=true:strict_string_checks=1:detect_stack_use_after_return=true:detect_invalid_pointer_pairs=99999:
22
+ # detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true
24
23
25
24
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Werror -fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer" )
26
25
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11" )
You can’t perform that action at this time.
0 commit comments