mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
Basic Inline Assembly (#149)
* basic inline assembly support * fix rlet * clean up detail in IR and update documentation
This commit is contained in:
@@ -28,4 +28,14 @@ std::string DebugInfo::disassemble_all_functions(bool* had_failure) {
|
||||
result += kv.second.disassemble_debug_info(had_failure) + "\n\n";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string DebugInfo::disassemble_function_by_name(const std::string& name, bool* had_failure) {
|
||||
std::string result;
|
||||
for (auto& kv : m_functions) {
|
||||
if (kv.second.name == name) {
|
||||
result += kv.second.disassemble_debug_info(had_failure) + "\n\n";
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user