Bug 1401116 - Remove jemalloc symbols from mozglue.def.in. r?njn
As long as symbols have the right declspec, the linker is going to
export them as expected. The main exception to when we actually need the
exported symbol to have a different name, which is the case for the
symbols normally exported by the CRT. So keep only those renamed symbols
in mozglue.def.in.
Keeping the jemalloc symbols in this file kind of implies that we need
every new API entry points to appear in there when it's not true. This
thus removes an unnecessary moving part when adding new allocator API
entry points.
--- a/mozglue/build/mozglue.def.in
+++ b/mozglue/build/mozglue.def.in
@@ -16,14 +16,9 @@ EXPORTS
malloc_good_size=je_malloc_good_size
_aligned_free=je_free
_aligned_malloc
strndup=wrap_strndup
strdup=wrap_strdup
_strdup=wrap_strdup
wcsdup=wrap_wcsdup
_wcsdup=wrap_wcsdup
- jemalloc_stats
- jemalloc_purge_freed_pages
- jemalloc_free_dirty_pages
- jemalloc_thread_local_arena
- jemalloc_ptr_info
#endif