gecko-dev/memory/mozalloc
Tom Ritter 1f279f7006 Bug 1547519 - Fix jemalloc redirections for MinGW build r=glandium
In the MinGW build, calls to malloc inside mozglue were not being
redirected as defined in the .def file. We create aliases for the
redirected functions to correctly redirect them inside mozglue.

An alternate solution for this exists. Rather than creating the
importlib during the linking step for mozglue, we could have used
dlltool to create it, and then provided it during linking. This
would allow mozglue to know that it should redirect calls to malloc
to je_malloc as specified in the .def file.

Differential Revision: https://phabricator.services.mozilla.com/D38407

--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:08 +00:00
..
cxxalloc.cpp Bug 1559379 - Export C++ allocation functions from mozglue on all platforms. r=froydnj 2019-06-27 22:07:42 +00:00
cxxalloc.h Bug 1559379 - Export C++ allocation functions from mozglue on all platforms. r=froydnj 2019-06-27 22:07:42 +00:00
moz.build Bug 1547519 - Fix jemalloc redirections for MinGW build r=glandium 2019-09-04 02:40:08 +00:00
mozalloc_abort.cpp
mozalloc_abort.h
mozalloc_oom.cpp
mozalloc_oom.h
mozalloc.cpp
mozalloc.h Bug 1559379 - Remove GCC ASAN workaround that seems to be unnecessary nowadays. r=froydnj 2019-06-27 22:07:44 +00:00
msvc_raise_wrappers.cpp
throw_gcc.h
winheap.cpp