Created central header for debug instrumentation API to fix implicit function declaration warnings across the codebase. Changes: 1. Created core/tiny_debug_api.h - Declares guard system API (3 functions) - Declares failfast debugging API (3 functions) - Uses forward declarations for SuperSlab/TinySlabMeta 2. Updated 3 files to include tiny_debug_api.h: - core/tiny_region_id.h (removed inline externs) - core/hakmem_tiny_tls_ops.h - core/tiny_superslab_alloc.inc.h Warnings eliminated (6 of 11 total): ✅ tiny_guard_is_enabled() ✅ tiny_guard_on_alloc() ✅ tiny_guard_on_invalid() ✅ tiny_failfast_log() ✅ tiny_failfast_abort_ptr() ✅ tiny_refill_failfast_level() Remaining warnings (deferred to P1): - ss_active_add (2 occurrences) - expand_superslab_head - hkm_ace_set_tls_capacity - smallmid_backend_free Impact: - Cleaner build output - Better type safety for debug functions - No behavior changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
2.1 KiB
Makefile
51 lines
2.1 KiB
Makefile
core/box/front_gate_classifier.o: core/box/front_gate_classifier.c \
|
|
core/box/front_gate_classifier.h core/box/../tiny_region_id.h \
|
|
core/box/../hakmem_build_flags.h core/box/../tiny_box_geometry.h \
|
|
core/box/../hakmem_tiny_superslab_constants.h \
|
|
core/box/../hakmem_tiny_config.h core/box/../ptr_track.h \
|
|
core/box/../hakmem_super_registry.h core/box/../hakmem_tiny_superslab.h \
|
|
core/box/../superslab/superslab_types.h \
|
|
core/hakmem_tiny_superslab_constants.h \
|
|
core/box/../superslab/superslab_inline.h \
|
|
core/box/../superslab/superslab_types.h \
|
|
core/box/../superslab/../tiny_box_geometry.h \
|
|
core/box/../tiny_debug_ring.h core/box/../tiny_remote.h \
|
|
core/box/../hakmem_tiny.h core/box/../hakmem_trace.h \
|
|
core/box/../hakmem_tiny_mini_mag.h core/box/../tiny_debug_api.h \
|
|
core/box/../hakmem_tiny_superslab.h \
|
|
core/box/../superslab/superslab_inline.h \
|
|
core/box/../hakmem_build_flags.h core/box/../hakmem_internal.h \
|
|
core/box/../hakmem.h core/box/../hakmem_config.h \
|
|
core/box/../hakmem_features.h core/box/../hakmem_sys.h \
|
|
core/box/../hakmem_whale.h core/box/../hakmem_tiny_config.h
|
|
core/box/front_gate_classifier.h:
|
|
core/box/../tiny_region_id.h:
|
|
core/box/../hakmem_build_flags.h:
|
|
core/box/../tiny_box_geometry.h:
|
|
core/box/../hakmem_tiny_superslab_constants.h:
|
|
core/box/../hakmem_tiny_config.h:
|
|
core/box/../ptr_track.h:
|
|
core/box/../hakmem_super_registry.h:
|
|
core/box/../hakmem_tiny_superslab.h:
|
|
core/box/../superslab/superslab_types.h:
|
|
core/hakmem_tiny_superslab_constants.h:
|
|
core/box/../superslab/superslab_inline.h:
|
|
core/box/../superslab/superslab_types.h:
|
|
core/box/../superslab/../tiny_box_geometry.h:
|
|
core/box/../tiny_debug_ring.h:
|
|
core/box/../tiny_remote.h:
|
|
core/box/../hakmem_tiny.h:
|
|
core/box/../hakmem_trace.h:
|
|
core/box/../hakmem_tiny_mini_mag.h:
|
|
core/box/../tiny_debug_api.h:
|
|
core/box/../hakmem_tiny_superslab.h:
|
|
core/box/../superslab/superslab_inline.h:
|
|
core/box/../hakmem_build_flags.h:
|
|
core/box/../hakmem_internal.h:
|
|
core/box/../hakmem.h:
|
|
core/box/../hakmem_config.h:
|
|
core/box/../hakmem_features.h:
|
|
core/box/../hakmem_sys.h:
|
|
core/box/../hakmem_whale.h:
|
|
core/box/../hakmem_tiny_config.h:
|