gecko-dev/memory/mozalloc
Mike Hommey 8b7fc2dba5 Bug 1884054 - Stop wrapping HeapAlloc-family of functions. r=pbone
The functions were wrapped in bug 1280578 mainly for rust, which used
these functions for its global allocator. However, that use case went
away with bug 1514122, where we've set up our own global allocator for
rust that calls the malloc-family of functions directly instead.

Back in that bug, we left the HeapAlloc wrapping for other use cases,
but there are few of them left, but we're now hitting another problem,
where we actually do want to be able to HeapFree pointers that might
have been allocated by system libraries, and the wrapping is getting
on the way of this actually working.

Differential Revision: https://phabricator.services.mozilla.com/D205788
2024-03-28 04:02:03 +00:00
..
cxxalloc.cpp
cxxalloc.h
moz.build Bug 1884054 - Stop wrapping HeapAlloc-family of functions. r=pbone 2024-03-28 04:02:03 +00:00
mozalloc.cpp
mozalloc.h
mozalloc_abort.cpp
mozalloc_abort.h
mozalloc_oom.cpp
mozalloc_oom.h Bug 1854519 - Work around wasm linking issue before clang 11. r=firefox-build-system-reviewers,sergesanspaille 2023-09-28 20:56:31 +00:00
msvc_raise_wrappers.cpp
throw_gcc.h