crosstool-ng/config/debug/dmalloc.in
Alexey Neyman 5e49166140 Disallow dmalloc for bare metal.
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>
2016-11-29 00:33:52 -08:00

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