Bug 682313: Fix jemalloc to export _strdup and _wcsdup so that we don't have an allocator mismatch. r=jimm
authorKyle Huey <khuey@kylehuey.com>
Tue, 30 Aug 2011 17:07:51 -0400
changeset 77598 19a5f6177257f59a9c565f1a6630782aed8f5b5d
parent 77597 6a7c444e82166f39981b6720c3085341c41b2431
child 77599 94b987001b3819f8ac50a13a9814ed1a346b2592
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs682313
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 682313: Fix jemalloc to export _strdup and _wcsdup so that we don't have an allocator mismatch. r=jimm
memory/jemalloc/jemalloc.def
--- a/memory/jemalloc/jemalloc.def
+++ b/memory/jemalloc/jemalloc.def
@@ -41,13 +41,15 @@ EXPORTS
   valloc=je_valloc
   calloc=je_calloc
   realloc=je_realloc
   free=je_free
   memalign=je_memalign
   posix_memalign=je_posix_memalign
   strndup=je_strndup
   strdup=je_strdup
+  _strdup=je_strdup
   wcsdup=je_wcsdup
+  _wcsdup=je_wcsdup
   malloc_usable_size=je_malloc_usable_size
   jemalloc_stats
   ; A hack to work around the CRT (see giant comment in Makefile.in)
   frex=je_dumb_free_thunk