// Compat header for missing `basename` #pragma once #include static const char * _unwinder_basename(const char *s) { const char *c = strrchr(s, '/'); return c ? c + 1 : s; }