Skip to content
Snippets Groups Projects
Commit 36dddeff 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 14da36cb
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4516 failed
......@@ -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.
Please register or to comment