diff --git a/core/tiny_superslab_free.inc.h b/core/tiny_superslab_free.inc.h index 4ad6ba46..e617ca5b 100644 --- a/core/tiny_superslab_free.inc.h +++ b/core/tiny_superslab_free.inc.h @@ -47,9 +47,9 @@ static inline void hak_tiny_free_superslab(void* ptr, SuperSlab* ss) { } if (__builtin_expect(tiny_remote_watch_is(ptr), 0)) { tiny_remote_watch_note("free_enter", ss, slab_idx, ptr, 0xA240u, tiny_self_u32(), 0); +#if !HAKMEM_BUILD_RELEASE extern __thread TinyTLSSlab g_tls_slabs[]; tiny_alloc_dump_tls_state(cls, "watch_free_enter", &g_tls_slabs[cls]); -#if !HAKMEM_BUILD_RELEASE extern __thread TinyTLSMag g_tls_mags[]; TinyTLSMag* watch_mag = &g_tls_mags[cls]; fprintf(stderr,