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
mozalloc_abort.cpp
mozalloc_abort.h
mozalloc_oom.cpp
mozalloc_oom.h
mozalloc.cpp
mozalloc.h
msvc_raise_wrappers.cpp
throw_gcc.h