2025-11-10 18:25:05 +09:00
|
|
|
|
// ptr_trace.h - Pointer link read/write tracing (Debug-only, macro-replaceable)
|
|
|
|
|
|
//
|
|
|
|
|
|
// Purpose:
|
|
|
|
|
|
// - Centrally instrument single-linked list next pointer reads/writes
|
|
|
|
|
|
// - Zero overhead in release builds (macros devolve to raw ops)
|
|
|
|
|
|
// - Compact TLS ring for triage; optional dump at exit via env
|
|
|
|
|
|
//
|
|
|
|
|
|
// Usage:
|
|
|
|
|
|
// - Replace direct next ops with PTR_NEXT_WRITE / PTR_NEXT_READ
|
|
|
|
|
|
// - Tag with a short literal (e.g., "tls_push", "tls_pop", "splice")
|
|
|
|
|
|
// - Offsets should be header-aware (C0–C6: +1, C7: +0)
|
|
|
|
|
|
//
|
|
|
|
|
|
// Control:
|
|
|
|
|
|
// - Compile-time: HAKMEM_PTR_TRACE (default: 1 for debug, 0 for release)
|
|
|
|
|
|
// - Runtime dump: HAKMEM_PTR_TRACE_DUMP=1 (prints ring at exit)
|
2025-11-13 03:53:01 +09:00
|
|
|
|
//
|
|
|
|
|
|
// Phase E1-CORRECT: Uses Box API (tiny_next_ptr_box.h) for offset calculation
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
#include <stddef.h>
|
2025-11-13 03:53:01 +09:00
|
|
|
|
#include "box/tiny_next_ptr_box.h" // Box API: tiny_next_read/write
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
|
|
|
|
|
#ifndef HAKMEM_PTR_TRACE
|
|
|
|
|
|
# if !HAKMEM_BUILD_RELEASE
|
|
|
|
|
|
# define HAKMEM_PTR_TRACE 1
|
|
|
|
|
|
# else
|
|
|
|
|
|
# define HAKMEM_PTR_TRACE 0
|
|
|
|
|
|
# endif
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if HAKMEM_PTR_TRACE
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
|
const char* tag; // literal tag
|
|
|
|
|
|
int class_idx; // tiny class (0..7)
|
|
|
|
|
|
void* node; // node address (base)
|
|
|
|
|
|
void* val; // written/read value
|
|
|
|
|
|
size_t off; // offset used for access
|
|
|
|
|
|
} ptr_trace_ev_t;
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef PTR_TRACE_CAP
|
|
|
|
|
|
# define PTR_TRACE_CAP 256
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
static __thread ptr_trace_ev_t g_ptr_trace_ring[PTR_TRACE_CAP];
|
|
|
|
|
|
static __thread uint32_t g_ptr_trace_idx = 0;
|
|
|
|
|
|
static __thread int g_ptr_trace_dump_registered = 0;
|
|
|
|
|
|
|
|
|
|
|
|
static inline void ptr_trace_record(const char* tag, int cls, void* node, void* val, size_t off) {
|
|
|
|
|
|
uint32_t i = g_ptr_trace_idx++;
|
|
|
|
|
|
g_ptr_trace_ring[i & (PTR_TRACE_CAP - 1)] = (ptr_trace_ev_t){ tag, cls, node, val, off };
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-11-10 23:41:53 +09:00
|
|
|
|
static inline void ptr_trace_dump(void) {
|
|
|
|
|
|
fprintf(stderr, "\n[PTR_TRACE_DUMP] last=%u (cap=%u)\n", g_ptr_trace_idx, (unsigned)PTR_TRACE_CAP);
|
|
|
|
|
|
uint32_t n = (g_ptr_trace_idx < PTR_TRACE_CAP) ? g_ptr_trace_idx : PTR_TRACE_CAP;
|
|
|
|
|
|
for (uint32_t k = 0; k < n; k++) {
|
|
|
|
|
|
const ptr_trace_ev_t* e = &g_ptr_trace_ring[(g_ptr_trace_idx - n + k) & (PTR_TRACE_CAP - 1)];
|
|
|
|
|
|
fprintf(stderr, "[%3u] tag=%s cls=%d node=%p val=%p off=%zu\n",
|
|
|
|
|
|
k, e->tag ? e->tag : "?", e->class_idx, e->node, e->val, e->off);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-11-10 18:25:05 +09:00
|
|
|
|
static inline void ptr_trace_try_register_dump(void) {
|
ENV cleanup: Add RELEASE guards to DEBUG ENV variables (14 vars)
Added compile-time guards (#if HAKMEM_BUILD_RELEASE) to eliminate
DEBUG ENV variable overhead in RELEASE builds.
Variables guarded (14 total):
- HAKMEM_TINY_TRACE_RING, HAKMEM_TINY_DUMP_RING_ATEXIT
- HAKMEM_TINY_RF_TRACE, HAKMEM_TINY_MAILBOX_TRACE
- HAKMEM_TINY_MAILBOX_TRACE_LIMIT, HAKMEM_TINY_MAILBOX_SLOWDISC
- HAKMEM_TINY_MAILBOX_SLOWDISC_PERIOD
- HAKMEM_SS_PREWARM_DEBUG, HAKMEM_SS_FREE_DEBUG
- HAKMEM_TINY_FRONT_METRICS, HAKMEM_TINY_FRONT_DUMP
- HAKMEM_TINY_COUNTERS_DUMP, HAKMEM_TINY_REFILL_DUMP
- HAKMEM_PTR_TRACE_DUMP, HAKMEM_PTR_TRACE_VERBOSE
Files modified (9 core files):
- core/tiny_debug_ring.c (ring trace/dump)
- core/box/mailbox_box.c (mailbox trace + slowdisc)
- core/tiny_refill.h (refill trace)
- core/hakmem_tiny_superslab.c (superslab debug)
- core/box/ss_allocation_box.c (allocation debug)
- core/tiny_superslab_free.inc.h (free debug)
- core/box/front_metrics_box.c (frontend metrics)
- core/hakmem_tiny_stats.c (stats dump)
- core/ptr_trace.h (pointer trace)
Bug fixes during implementation:
1. mailbox_box.c - Fixed variable scope (moved 'used' outside guard)
2. hakmem_tiny_stats.c - Fixed incomplete declarations (on1, on2)
Impact:
- Binary size: -85KB total
- bench_random_mixed_hakmem: 319K → 305K (-14K, -4.4%)
- larson_hakmem: 380K → 309K (-71K, -18.7%)
- Performance: No regression (16.9-17.9M ops/s maintained)
- Functional: All tests pass (Random Mixed + Larson)
- Behavior: DEBUG ENV vars correctly ignored in RELEASE builds
Testing:
- Build: Clean compilation (warnings only, pre-existing)
- 100K Random Mixed: 16.9-17.9M ops/s (PASS)
- 10K Larson: 25.9M ops/s (PASS)
- DEBUG ENV verification: Correctly ignored (PASS)
Result: 14 DEBUG ENV variables now have zero overhead in RELEASE builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 03:41:07 +09:00
|
|
|
|
#if HAKMEM_BUILD_RELEASE
|
|
|
|
|
|
return;
|
|
|
|
|
|
#else
|
2025-11-10 18:25:05 +09:00
|
|
|
|
if (g_ptr_trace_dump_registered) return;
|
|
|
|
|
|
g_ptr_trace_dump_registered = 1;
|
2025-11-28 01:04:29 +09:00
|
|
|
|
|
|
|
|
|
|
// Gate ENV check behind !HAKMEM_BUILD_RELEASE
|
|
|
|
|
|
static int g_dump_enabled = -1;
|
|
|
|
|
|
if (__builtin_expect(g_dump_enabled == -1, 0)) {
|
|
|
|
|
|
const char* env = getenv("HAKMEM_PTR_TRACE_DUMP");
|
|
|
|
|
|
g_dump_enabled = (env && *env && *env != '0') ? 1 : 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (!g_dump_enabled) return;
|
2025-11-10 23:41:53 +09:00
|
|
|
|
atexit(ptr_trace_dump);
|
ENV cleanup: Add RELEASE guards to DEBUG ENV variables (14 vars)
Added compile-time guards (#if HAKMEM_BUILD_RELEASE) to eliminate
DEBUG ENV variable overhead in RELEASE builds.
Variables guarded (14 total):
- HAKMEM_TINY_TRACE_RING, HAKMEM_TINY_DUMP_RING_ATEXIT
- HAKMEM_TINY_RF_TRACE, HAKMEM_TINY_MAILBOX_TRACE
- HAKMEM_TINY_MAILBOX_TRACE_LIMIT, HAKMEM_TINY_MAILBOX_SLOWDISC
- HAKMEM_TINY_MAILBOX_SLOWDISC_PERIOD
- HAKMEM_SS_PREWARM_DEBUG, HAKMEM_SS_FREE_DEBUG
- HAKMEM_TINY_FRONT_METRICS, HAKMEM_TINY_FRONT_DUMP
- HAKMEM_TINY_COUNTERS_DUMP, HAKMEM_TINY_REFILL_DUMP
- HAKMEM_PTR_TRACE_DUMP, HAKMEM_PTR_TRACE_VERBOSE
Files modified (9 core files):
- core/tiny_debug_ring.c (ring trace/dump)
- core/box/mailbox_box.c (mailbox trace + slowdisc)
- core/tiny_refill.h (refill trace)
- core/hakmem_tiny_superslab.c (superslab debug)
- core/box/ss_allocation_box.c (allocation debug)
- core/tiny_superslab_free.inc.h (free debug)
- core/box/front_metrics_box.c (frontend metrics)
- core/hakmem_tiny_stats.c (stats dump)
- core/ptr_trace.h (pointer trace)
Bug fixes during implementation:
1. mailbox_box.c - Fixed variable scope (moved 'used' outside guard)
2. hakmem_tiny_stats.c - Fixed incomplete declarations (on1, on2)
Impact:
- Binary size: -85KB total
- bench_random_mixed_hakmem: 319K → 305K (-14K, -4.4%)
- larson_hakmem: 380K → 309K (-71K, -18.7%)
- Performance: No regression (16.9-17.9M ops/s maintained)
- Functional: All tests pass (Random Mixed + Larson)
- Behavior: DEBUG ENV vars correctly ignored in RELEASE builds
Testing:
- Build: Clean compilation (warnings only, pre-existing)
- 100K Random Mixed: 16.9-17.9M ops/s (PASS)
- 10K Larson: 25.9M ops/s (PASS)
- DEBUG ENV verification: Correctly ignored (PASS)
Result: 14 DEBUG ENV variables now have zero overhead in RELEASE builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 03:41:07 +09:00
|
|
|
|
#endif
|
2025-11-10 23:41:53 +09:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Immediate dump (Debug only) — static inline to avoid ODR/link conflicts under LTO
|
2025-11-13 03:53:01 +09:00
|
|
|
|
// Only dumps if HAKMEM_PTR_TRACE_VERBOSE=1 to avoid excessive output in debug builds
|
2025-11-10 23:41:53 +09:00
|
|
|
|
#if HAKMEM_PTR_TRACE
|
|
|
|
|
|
static inline void ptr_trace_dump_now(const char* reason) {
|
ENV cleanup: Add RELEASE guards to DEBUG ENV variables (14 vars)
Added compile-time guards (#if HAKMEM_BUILD_RELEASE) to eliminate
DEBUG ENV variable overhead in RELEASE builds.
Variables guarded (14 total):
- HAKMEM_TINY_TRACE_RING, HAKMEM_TINY_DUMP_RING_ATEXIT
- HAKMEM_TINY_RF_TRACE, HAKMEM_TINY_MAILBOX_TRACE
- HAKMEM_TINY_MAILBOX_TRACE_LIMIT, HAKMEM_TINY_MAILBOX_SLOWDISC
- HAKMEM_TINY_MAILBOX_SLOWDISC_PERIOD
- HAKMEM_SS_PREWARM_DEBUG, HAKMEM_SS_FREE_DEBUG
- HAKMEM_TINY_FRONT_METRICS, HAKMEM_TINY_FRONT_DUMP
- HAKMEM_TINY_COUNTERS_DUMP, HAKMEM_TINY_REFILL_DUMP
- HAKMEM_PTR_TRACE_DUMP, HAKMEM_PTR_TRACE_VERBOSE
Files modified (9 core files):
- core/tiny_debug_ring.c (ring trace/dump)
- core/box/mailbox_box.c (mailbox trace + slowdisc)
- core/tiny_refill.h (refill trace)
- core/hakmem_tiny_superslab.c (superslab debug)
- core/box/ss_allocation_box.c (allocation debug)
- core/tiny_superslab_free.inc.h (free debug)
- core/box/front_metrics_box.c (frontend metrics)
- core/hakmem_tiny_stats.c (stats dump)
- core/ptr_trace.h (pointer trace)
Bug fixes during implementation:
1. mailbox_box.c - Fixed variable scope (moved 'used' outside guard)
2. hakmem_tiny_stats.c - Fixed incomplete declarations (on1, on2)
Impact:
- Binary size: -85KB total
- bench_random_mixed_hakmem: 319K → 305K (-14K, -4.4%)
- larson_hakmem: 380K → 309K (-71K, -18.7%)
- Performance: No regression (16.9-17.9M ops/s maintained)
- Functional: All tests pass (Random Mixed + Larson)
- Behavior: DEBUG ENV vars correctly ignored in RELEASE builds
Testing:
- Build: Clean compilation (warnings only, pre-existing)
- 100K Random Mixed: 16.9-17.9M ops/s (PASS)
- 10K Larson: 25.9M ops/s (PASS)
- DEBUG ENV verification: Correctly ignored (PASS)
Result: 14 DEBUG ENV variables now have zero overhead in RELEASE builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 03:41:07 +09:00
|
|
|
|
#if HAKMEM_BUILD_RELEASE
|
|
|
|
|
|
(void)reason;
|
|
|
|
|
|
return;
|
|
|
|
|
|
#else
|
2025-11-28 01:04:29 +09:00
|
|
|
|
// Gate ENV check behind !HAKMEM_BUILD_RELEASE
|
2025-11-13 03:53:01 +09:00
|
|
|
|
static int verbose_mode = -1;
|
2025-11-28 01:04:29 +09:00
|
|
|
|
if (__builtin_expect(verbose_mode == -1, 0)) {
|
2025-11-13 03:53:01 +09:00
|
|
|
|
const char* env = getenv("HAKMEM_PTR_TRACE_VERBOSE");
|
|
|
|
|
|
verbose_mode = (env && *env && *env != '0') ? 1 : 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (!verbose_mode) return; // Skip verbose logging unless explicitly enabled
|
|
|
|
|
|
|
2025-11-10 23:41:53 +09:00
|
|
|
|
fprintf(stderr, "\n[PTR_TRACE_NOW] reason=%s last=%u (cap=%u)\n",
|
|
|
|
|
|
reason ? reason : "(null)", g_ptr_trace_idx, (unsigned)PTR_TRACE_CAP);
|
|
|
|
|
|
uint32_t n = (g_ptr_trace_idx < PTR_TRACE_CAP) ? g_ptr_trace_idx : PTR_TRACE_CAP;
|
|
|
|
|
|
for (uint32_t k = 0; k < n; k++) {
|
|
|
|
|
|
const ptr_trace_ev_t* e = &g_ptr_trace_ring[(g_ptr_trace_idx - n + k) & (PTR_TRACE_CAP - 1)];
|
|
|
|
|
|
fprintf(stderr, "[%3u] tag=%s cls=%d node=%p val=%p off=%zu\n",
|
|
|
|
|
|
k, e->tag ? e->tag : "?", e->class_idx, e->node, e->val, e->off);
|
2025-11-10 18:25:05 +09:00
|
|
|
|
}
|
ENV cleanup: Add RELEASE guards to DEBUG ENV variables (14 vars)
Added compile-time guards (#if HAKMEM_BUILD_RELEASE) to eliminate
DEBUG ENV variable overhead in RELEASE builds.
Variables guarded (14 total):
- HAKMEM_TINY_TRACE_RING, HAKMEM_TINY_DUMP_RING_ATEXIT
- HAKMEM_TINY_RF_TRACE, HAKMEM_TINY_MAILBOX_TRACE
- HAKMEM_TINY_MAILBOX_TRACE_LIMIT, HAKMEM_TINY_MAILBOX_SLOWDISC
- HAKMEM_TINY_MAILBOX_SLOWDISC_PERIOD
- HAKMEM_SS_PREWARM_DEBUG, HAKMEM_SS_FREE_DEBUG
- HAKMEM_TINY_FRONT_METRICS, HAKMEM_TINY_FRONT_DUMP
- HAKMEM_TINY_COUNTERS_DUMP, HAKMEM_TINY_REFILL_DUMP
- HAKMEM_PTR_TRACE_DUMP, HAKMEM_PTR_TRACE_VERBOSE
Files modified (9 core files):
- core/tiny_debug_ring.c (ring trace/dump)
- core/box/mailbox_box.c (mailbox trace + slowdisc)
- core/tiny_refill.h (refill trace)
- core/hakmem_tiny_superslab.c (superslab debug)
- core/box/ss_allocation_box.c (allocation debug)
- core/tiny_superslab_free.inc.h (free debug)
- core/box/front_metrics_box.c (frontend metrics)
- core/hakmem_tiny_stats.c (stats dump)
- core/ptr_trace.h (pointer trace)
Bug fixes during implementation:
1. mailbox_box.c - Fixed variable scope (moved 'used' outside guard)
2. hakmem_tiny_stats.c - Fixed incomplete declarations (on1, on2)
Impact:
- Binary size: -85KB total
- bench_random_mixed_hakmem: 319K → 305K (-14K, -4.4%)
- larson_hakmem: 380K → 309K (-71K, -18.7%)
- Performance: No regression (16.9-17.9M ops/s maintained)
- Functional: All tests pass (Random Mixed + Larson)
- Behavior: DEBUG ENV vars correctly ignored in RELEASE builds
Testing:
- Build: Clean compilation (warnings only, pre-existing)
- 100K Random Mixed: 16.9-17.9M ops/s (PASS)
- 10K Larson: 25.9M ops/s (PASS)
- DEBUG ENV verification: Correctly ignored (PASS)
Result: 14 DEBUG ENV variables now have zero overhead in RELEASE builds.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 03:41:07 +09:00
|
|
|
|
#endif
|
2025-11-10 18:25:05 +09:00
|
|
|
|
}
|
2025-11-10 23:41:53 +09:00
|
|
|
|
#else
|
|
|
|
|
|
static inline void ptr_trace_dump_now(const char* reason) { (void)reason; }
|
|
|
|
|
|
#endif
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
2025-11-13 03:53:01 +09:00
|
|
|
|
// Phase E1-CORRECT: Use Box API for all next pointer operations
|
2025-11-14 01:02:00 +09:00
|
|
|
|
// Box API handles offset calculation internally based on class_idx.
|
|
|
|
|
|
// `off` は呼び出し元互換用に受け取るが、アドレス計算には使わない(ログ専用)。
|
2025-11-10 18:25:05 +09:00
|
|
|
|
#define PTR_NEXT_WRITE(tag, cls, node, off, value) do { \
|
2025-12-04 04:15:10 +09:00
|
|
|
|
g_tiny_next_tag = (tag); \
|
|
|
|
|
|
g_tiny_next_file = __FILE__; \
|
|
|
|
|
|
g_tiny_next_line = __LINE__; \
|
2025-12-04 14:22:48 +09:00
|
|
|
|
/* Use only depth-0 return address; deeper frames are unsafe. */ \
|
2025-12-04 04:15:10 +09:00
|
|
|
|
g_tiny_next_ra0 = __builtin_return_address(0); \
|
2025-12-04 14:22:48 +09:00
|
|
|
|
g_tiny_next_ra1 = NULL; \
|
|
|
|
|
|
g_tiny_next_ra2 = NULL; \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
(void)(off); \
|
2025-11-13 03:53:01 +09:00
|
|
|
|
tiny_next_write((cls), (node), (value)); \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
ptr_trace_record((tag), (cls), (node), (value), (size_t)(off)); \
|
2025-11-10 18:25:05 +09:00
|
|
|
|
ptr_trace_try_register_dump(); \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
} while (0)
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
|
|
|
|
|
#define PTR_NEXT_READ(tag, cls, node, off, out_var) do { \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
(void)(off); \
|
|
|
|
|
|
void* _tmp = tiny_next_read((cls), (node)); \
|
|
|
|
|
|
(out_var) = _tmp; \
|
|
|
|
|
|
ptr_trace_record((tag), (cls), (node), (out_var), (size_t)(off)); \
|
2025-11-10 18:25:05 +09:00
|
|
|
|
ptr_trace_try_register_dump(); \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
} while (0)
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
|
|
|
|
|
#else // HAKMEM_PTR_TRACE == 0
|
|
|
|
|
|
|
2025-11-13 03:53:01 +09:00
|
|
|
|
// Phase E1-CORRECT: Use Box API for all next pointer operations (Release mode)
|
2025-11-14 01:02:00 +09:00
|
|
|
|
// `off` は互換用のダミーで、Box API が offset を決定する。
|
2025-12-04 04:15:10 +09:00
|
|
|
|
#define PTR_NEXT_WRITE(tag, cls, node, off, value) \
|
|
|
|
|
|
do { \
|
|
|
|
|
|
g_tiny_next_tag = (tag); \
|
|
|
|
|
|
g_tiny_next_file = __FILE__; \
|
|
|
|
|
|
g_tiny_next_line = __LINE__; \
|
2025-12-04 14:22:48 +09:00
|
|
|
|
/* Depth-0 return address only; avoid unsafe frame walks. */ \
|
2025-12-04 04:15:10 +09:00
|
|
|
|
g_tiny_next_ra0 = __builtin_return_address(0); \
|
2025-12-04 14:22:48 +09:00
|
|
|
|
g_tiny_next_ra1 = NULL; \
|
|
|
|
|
|
g_tiny_next_ra2 = NULL; \
|
2025-12-04 04:15:10 +09:00
|
|
|
|
(void)(tag); (void)(off); \
|
|
|
|
|
|
tiny_next_write((cls), (node), (value)); \
|
|
|
|
|
|
} while (0)
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
|
|
|
|
|
#define PTR_NEXT_READ(tag, cls, node, off, out_var) \
|
2025-11-14 01:02:00 +09:00
|
|
|
|
do { (void)(tag); (void)(off); (out_var) = tiny_next_read((cls), (node)); } while (0)
|
2025-11-10 18:25:05 +09:00
|
|
|
|
|
2025-11-11 01:00:37 +09:00
|
|
|
|
// Always provide a stub for release builds so callers can link
|
|
|
|
|
|
static inline void ptr_trace_dump_now(const char* reason) { (void)reason; }
|
|
|
|
|
|
|
2025-11-10 18:25:05 +09:00
|
|
|
|
#endif // HAKMEM_PTR_TRACE
|