Files
wiicompiled/runtime/cmake/guest_symbol_table_stub.cpp
T
patchzyy ec226e8348 init
2026-08-23 17:10:50 +02:00

19 lines
712 B
C++

// Fallback for builds where generated/guest_symbol_table.cpp has not been
// produced yet (generate-data-init emits the real table from the project's
// function map). An empty table simply disables crash-report symbolization.
#include <cstdint>
extern "C" {
// The extern declarations force external linkage: namespace-scope const
// objects are internal-linkage by default in C++, even inside extern "C".
extern const uint32_t kGuestMapSymbolCount;
extern const uint32_t kGuestMapSymbolAddresses[];
extern const char* const kGuestMapSymbolNames[];
const uint32_t kGuestMapSymbolCount = 0u;
const uint32_t kGuestMapSymbolAddresses[] = {0u};
const char* const kGuestMapSymbolNames[] = {""};
} // extern "C"