mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
1a6ac2f8fb
We make replace_malloc_init_funcs called on all platforms and fill out a malloc_table_t for the replace-malloc functions with what comes from dlsym/GetProcAddress on Android/Windows, and from the dynamically linked weak symbols replace_* on other platforms. replace_malloc.h contains definitions of *_impl_t types for each of the functions in the malloc_table_t, which is redundant with the replace_*_impl_t types we were creating, so we remove those typedefs, except for the two functions (init and get_bridge) that don't have such a typedef. Those functions don't appear in malloc_table_t. --HG-- extra : rebase_source : 3705a99ee07f63dbaa66973eef19ddab224e0911 |
||
---|---|---|
.. | ||
build | ||
fallible | ||
gtest | ||
mozalloc | ||
mozjemalloc | ||
replace | ||
volatile | ||
moz.build |