mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
5e49166140
In case of bare metal, newlib is built without any syscalls, and dmalloc fails to link with undefined references to _exit, fstat, open, sbrk and so on. Same for DUMA: depends on <memory.h>, not available with newlib. Signed-off-by: Alexey Neyman <stilor@att.net>
26 lines
478 B
Plaintext
26 lines
478 B
Plaintext
# dmalloc debug facility
|
|
|
|
## depends on ! BACKEND
|
|
## depends on ! BARE_METAL
|
|
##
|
|
## help dmalloc helps tracking memory allocation mis-usage
|
|
## help such as double-free, use-after-free...
|
|
|
|
choice
|
|
bool
|
|
prompt "dmalloc version"
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
config DMALLOC_V_5_5_2
|
|
bool
|
|
prompt "5.5.2"
|
|
|
|
endchoice
|
|
|
|
config DMALLOC_VERSION
|
|
string
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
|
default "5.5.2" if DMALLOC_V_5_5_2
|