rtems-tools/linkers/libc-heap.ini
Chris Johns 7fc1edba20 rtems-tld: Add configuration support for libc head tracing.
These files allow you to trace malloc, calloc, realloc and free.
With a simple script you can see what is allocated and never freed.
2014-12-18 15:07:59 +11:00

26 lines
440 B
INI
Executable File

;
; RTEMS C Library Trace Configurations
;
[libc-heap]
headers = libc-heap-headers
defines = libc-heap-defines
signatures = libc-heap-signatures
[libc-heap-all]
trace = malloc
trace = calloc
trace = realloc
trace = free
[libc-heap-headers]
header = "#include <stdlib.h>"
[libc-heap-defines]
; Currently empty
[libc-heap-signatures]
malloc = void*, size_t
calloc = void*, size_t, size_t
realloc = void*, void*, size_t
free = void, void*