2012-05-21 04:12:37 -07:00
|
|
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-06-27 12:44:51 -07:00
|
|
|
|
2011-12-27 23:24:02 -08:00
|
|
|
LIBRARY mozglue.dll
|
2011-06-27 12:44:51 -07:00
|
|
|
|
|
|
|
EXPORTS
|
2011-09-02 23:19:06 -07:00
|
|
|
#ifdef MOZ_MEMORY
|
2011-06-27 12:44:51 -07:00
|
|
|
; symbols that are actually useful
|
2012-12-07 00:32:24 -08:00
|
|
|
#ifdef MOZ_REPLACE_MALLOC
|
|
|
|
malloc=malloc_impl
|
|
|
|
calloc=calloc_impl
|
|
|
|
realloc=realloc_impl
|
|
|
|
free=free_impl
|
|
|
|
posix_memalign=posix_memalign_impl
|
|
|
|
malloc_usable_size=malloc_usable_size_impl
|
|
|
|
malloc_good_size=malloc_good_size_impl
|
|
|
|
#else
|
2011-06-27 12:44:51 -07:00
|
|
|
malloc=je_malloc
|
|
|
|
calloc=je_calloc
|
|
|
|
realloc=je_realloc
|
|
|
|
free=je_free
|
|
|
|
posix_memalign=je_posix_memalign
|
|
|
|
malloc_usable_size=je_malloc_usable_size
|
2012-12-07 00:32:24 -08:00
|
|
|
malloc_good_size=je_malloc_good_size
|
2012-12-07 00:32:24 -08:00
|
|
|
#endif
|
2012-12-07 00:32:24 -08:00
|
|
|
strndup=wrap_strndup
|
|
|
|
strdup=wrap_strdup
|
|
|
|
_strdup=wrap_strdup
|
|
|
|
wcsdup=wrap_wcsdup
|
|
|
|
_wcsdup=wrap_wcsdup
|
2011-06-27 12:44:51 -07:00
|
|
|
jemalloc_stats
|
2012-11-08 11:06:50 -08:00
|
|
|
jemalloc_free_dirty_pages
|
2011-06-27 12:44:51 -07:00
|
|
|
; A hack to work around the CRT (see giant comment in Makefile.in)
|
2012-12-07 00:32:24 -08:00
|
|
|
frex=dumb_free_thunk
|
2011-09-02 23:19:06 -07:00
|
|
|
#endif
|