From 65f4666063ebd8207bf09f528797467c5a30fd9d Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 19 Nov 2017 20:23:00 +0100 Subject: Dep/Jemalloc: Update to Jemalloc 5.0.1 (cherry picked from commit 92cd9bd70db460fdce4af0596cf9d8ee3c3abad5) --- dep/jemalloc/src/hooks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dep/jemalloc/src/hooks.c (limited to 'dep/jemalloc/src/hooks.c') diff --git a/dep/jemalloc/src/hooks.c b/dep/jemalloc/src/hooks.c new file mode 100644 index 00000000000..6266ecd47fe --- /dev/null +++ b/dep/jemalloc/src/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 (*hooks_arena_new_hook)() = NULL; + +JEMALLOC_EXPORT +void (*hooks_libc_hook)() = NULL; -- cgit v1.2.3