28 lines
772 B
C
28 lines
772 B
C
// ptr_trace_box.c - Stub definitions for pointer trace hooks (debug-only)
|
|
// The debug build references these symbols via tls_sll_box.h; provide
|
|
// lightweight no-op implementations so builds succeed without optional
|
|
// tracing artifacts.
|
|
|
|
#include <stdatomic.h>
|
|
#include <stdint.h>
|
|
#include "../hakmem_build_flags.h"
|
|
|
|
#if !HAKMEM_BUILD_RELEASE
|
|
_Atomic uint64_t g_ptr_trace_op_counter = 0;
|
|
|
|
void ptr_trace_record_impl(int event, void* ptr, int class_idx, uint64_t op_num,
|
|
void* aux_ptr, uint32_t aux_u32, int aux_int,
|
|
const char* file, int line)
|
|
{
|
|
(void)event;
|
|
(void)ptr;
|
|
(void)class_idx;
|
|
(void)op_num;
|
|
(void)aux_ptr;
|
|
(void)aux_u32;
|
|
(void)aux_int;
|
|
(void)file;
|
|
(void)line;
|
|
}
|
|
#endif
|