mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
fix(Makefile): ASAN malloc stacktraces were being truncated
This commit is contained in:
parent
a6ce45ca87
commit
897f6c6a6b
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -1,6 +1,9 @@
|
|||
NAME = minishell
|
||||
DEBUG = -g
|
||||
ASAN = -fsanitize=address
|
||||
# -fno-omit-frame-pointer is to prevent malloc stacktraces from being truncated,
|
||||
# see "My malloc stacktraces are too short" here:
|
||||
# https://github.com/google/sanitizers/wiki/AddressSanitizer
|
||||
ASAN = -fsanitize=address -fno-omit-frame-pointer
|
||||
TSAN = -fsanitize=thread
|
||||
UBSAN = -fsanitize=undefined
|
||||
LDLIBS = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue