зеркало из https://github.com/mozilla/gecko-dev.git
8b7fc2dba5
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 |
||
---|---|---|
.. | ||
cxxalloc.cpp | ||
cxxalloc.h | ||
moz.build | ||
mozalloc.cpp | ||
mozalloc.h | ||
mozalloc_abort.cpp | ||
mozalloc_abort.h | ||
mozalloc_oom.cpp | ||
mozalloc_oom.h | ||
msvc_raise_wrappers.cpp | ||
throw_gcc.h |