mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-09 15:27:18 +03:00
Limit TSD bootstrap hook to tests
This commit is contained in:
parent
54f22c83d8
commit
b859093d28
4 changed files with 5 additions and 142 deletions
|
|
@ -4,7 +4,9 @@
|
|||
extern JEMALLOC_EXPORT void (*test_hooks_arena_new_hook)(void);
|
||||
extern JEMALLOC_EXPORT void (*test_hooks_libc_hook)(void);
|
||||
extern JEMALLOC_EXPORT void (*test_hooks_safety_check_abort)(const char *);
|
||||
#if defined(JEMALLOC_JET) || defined(JEMALLOC_UNIT_TEST)
|
||||
extern JEMALLOC_EXPORT void (*test_hooks_tsd_bootstrap_hook)(void);
|
||||
#endif
|
||||
|
||||
#if defined(JEMALLOC_JET) || defined(JEMALLOC_UNIT_TEST)
|
||||
# define JEMALLOC_TEST_HOOK(fn, hook) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue