From 8dd1f39153df736ad60fb07b50502bb5b03a23fc Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 5 May 2019 17:19:10 +0200 Subject: Dep/Jemalloc: Update to Jemalloc 5.2.0 (cherry picked from commit 5d986f0be46bf439caf227f3c228ac1c8efddfde) --- dep/jemalloc/src/test_hooks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dep/jemalloc/src/test_hooks.c (limited to 'dep/jemalloc/src/test_hooks.c') diff --git a/dep/jemalloc/src/test_hooks.c b/dep/jemalloc/src/test_hooks.c new file mode 100644 index 00000000000..ace00d9c469 --- /dev/null +++ b/dep/jemalloc/src/test_hooks.c @@ -0,0 +1,12 @@ +#include "jemalloc/internal/jemalloc_preamble.h" + +/* + * The hooks are a little bit screwy -- they're not genuinely exported in the + * sense that we want them available to end-users, but we do want them visible + * from outside the generated library, so that we can use them in test code. + */ +JEMALLOC_EXPORT +void (*test_hooks_arena_new_hook)() = NULL; + +JEMALLOC_EXPORT +void (*test_hooks_libc_hook)() = NULL; -- cgit v1.2.3