aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc/jemalloc.sh
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2014-01-16 17:38:01 -0800
committerJason Evans <je@fb.com>2014-01-16 17:38:01 -0800
commitf234dc51b9740242d8ba69307db7c5a1312f5a03 (patch)
tree905932c235c70e6cf79c91126633cfbb40c98c92 /include/jemalloc/jemalloc.sh
parent4f37ef693e3d5903ce07dc0b61c0da320b35e3d9 (diff)
downloadplatform_external_jemalloc_new-f234dc51b9740242d8ba69307db7c5a1312f5a03.tar.gz
platform_external_jemalloc_new-f234dc51b9740242d8ba69307db7c5a1312f5a03.tar.bz2
platform_external_jemalloc_new-f234dc51b9740242d8ba69307db7c5a1312f5a03.zip
Fix name mangling for stress tests.
Fix stress tests such that testlib code uses the jet_ allocator, but test code uses libjemalloc. Generate jemalloc_{rename,mangle}.h, the former because it's needed for the stress test name mangling fix, and the latter for consistency. As an artifact of this change, some (but not all) definitions related to the experimental API are absent from the headers unless the feature is enabled at configure time.
Diffstat (limited to 'include/jemalloc/jemalloc.sh')
-rwxr-xr-xinclude/jemalloc/jemalloc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jemalloc/jemalloc.sh b/include/jemalloc/jemalloc.sh
index ad8376e7..e4738eba 100755
--- a/include/jemalloc/jemalloc.sh
+++ b/include/jemalloc/jemalloc.sh
@@ -11,8 +11,8 @@ extern "C" {
EOF
-for hdr in jemalloc_defs.h jemalloc_macros.h jemalloc_protos.h \
- jemalloc_mangle.h ; do
+for hdr in jemalloc_defs.h jemalloc_rename.h jemalloc_macros.h \
+ jemalloc_protos.h jemalloc_mangle.h ; do
cat "${objroot}include/jemalloc/${hdr}" \
| grep -v 'Generated from .* by configure\.' \
| sed -e 's/^#define /#define /g' \