Infrastructure and build updates

- Update build configuration and flags
- Add missing header files and dependencies
- Update TLS list implementation with proper scoping
- Fix various compilation warnings and issues
- Update debug ring and tiny allocation infrastructure
- Update benchmark results documentation

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
Moe Charm (CI)
2025-11-11 21:49:05 +09:00
parent 79c74e72da
commit 862e8ea7db
34 changed files with 541 additions and 214 deletions

View File

@ -3,6 +3,7 @@
#include <stdint.h>
#include <stddef.h>
#include "hakmem_build_flags.h"
// Tiny Debug Ring Trace (Phase 8 tooling)
// Environment: HAKMEM_TINY_TRACE_RING=1 to enable
@ -36,7 +37,16 @@ enum {
TINY_RING_EVENT_ROUTE
};
#if HAKMEM_BUILD_RELEASE && !HAKMEM_DEBUG_VERBOSE
static inline void tiny_debug_ring_init(void) {
(void)0;
}
static inline void tiny_debug_ring_record(uint16_t event, uint16_t class_idx, void* ptr, uintptr_t aux) {
(void)event; (void)class_idx; (void)ptr; (void)aux;
}
#else
void tiny_debug_ring_init(void);
void tiny_debug_ring_record(uint16_t event, uint16_t class_idx, void* ptr, uintptr_t aux);
#endif
#endif // TINY_DEBUG_RING_H