Core: Fix Debug Dump (#4266)

* Fix

* Clang
This commit is contained in:
Stephen Miller 2026-04-16 01:20:33 -05:00 committed by GitHub
parent be224a4556
commit 830c5ba435
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,10 +38,9 @@ void SymbolsResolver::DebugDump(const std::filesystem::path& file_name) {
const auto ids = Common::SplitString(symbol.name, '#');
const auto aeronid = AeroLib::FindByNid(ids.at(0).c_str());
const auto nid_name = aeronid ? aeronid->name : "UNK";
f.WriteString(
fmt::format("0x{:<20x} {:<16} {:<60} {:<30} {:<2} {:<30} {:<2} {:<2} {:<10}\n",
symbol.virtual_address, ids.at(0), nid_name, ids.at(1), ids.at(2),
ids.at(3), ids.at(4), ids.at(5), ids.at(6)));
f.WriteString(fmt::format("0x{:<20x} {:<16} {:<60} {:<30} {:<2} {:<30} {:<10}\n",
symbol.virtual_address, ids.at(0), nid_name, ids.at(1), ids.at(2),
ids.at(3), ids.at(4)));
}
}