Skip to content
Snippets Groups Projects
Commit cd64a0bd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Include -fno-omit-frame-pointer when usinag ASan and UBSan

this is recommended to reliably display the call stack when using the
print_stacktrace option.
parent 44d9adc3
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ ifdef DEBUG
CFLAGS += -D_FORTIFY_SOURCE=3 -O1
endif
ifdef SANITIZE
CFLAGS += -fsanitize=undefined,address
CFLAGS += -fsanitize=undefined,address -fno-omit-frame-pointer
LDFLAGS += -fsanitize=undefined,address
endif
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment