mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
[goalc] reduce compiler memory usage (#2247)
This commit is contained in:
@@ -9,8 +9,9 @@ DebugInfo::DebugInfo(std::string obj_name) : m_obj_name(std::move(obj_name)) {}
|
||||
std::string FunctionDebugInfo::disassemble_debug_info(bool* had_failure,
|
||||
const goos::Reader* reader) {
|
||||
std::string result = fmt::format("[{}]\n", name);
|
||||
result += disassemble_x86_function(generated_code.data(), generated_code.size(), reader, 0x10000,
|
||||
0x10000, instructions, function.get(), had_failure, true);
|
||||
result +=
|
||||
disassemble_x86_function(generated_code.data(), generated_code.size(), reader, 0x10000,
|
||||
0x10000, instructions, code_sources, ir_strings, had_failure, true);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user