wasi-libc/dlmalloc
YAMAMOTO Takashi a3ef1520ec
dlmalloc: account the footprint of the initial heap (#496)
While malloc_stats and friends are disabled and unused for wasi-libc,
it's neater to be consistent.

Background: My colleagues for some reasons enabled malloc_stats
and asked me why it reports negative values.

Note: Depending __heap_base, init_top() adjusts the address for
alignment. I think the amount of this adjustment is reported as
"used" by malloc_stats. I don't bother to "fix" it.
2024-05-17 10:53:56 -07:00
..
include WASI libc prototype implementation. 2019-03-27 07:59:55 -07:00
src dlmalloc: account the footprint of the initial heap (#496) 2024-05-17 10:53:56 -07:00