might help during debugging
This commit is contained in:
parent
edd71a0908
commit
6958829343
|
@ -131,6 +131,9 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all")
|
||||||
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
|
||||||
# Inserts a guard variable onto the stack frame for all functions
|
# Inserts a guard variable onto the stack frame for all functions
|
||||||
|
|
||||||
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -finit-real=snan -finit-integer=-2147483648")
|
||||||
|
# "strange" values to simplify debugging
|
||||||
|
|
||||||
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined")
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined")
|
||||||
# detect undefined behavior
|
# detect undefined behavior
|
||||||
# Additional options
|
# Additional options
|
||||||
|
|
Loading…
Reference in New Issue