Basic Inline Assembly (#149)

* basic inline assembly support

* fix rlet

* clean up detail in IR and update documentation
This commit is contained in:
water111
2020-12-04 12:57:10 -05:00
committed by GitHub
parent ea479bee98
commit 90e5c023f1
30 changed files with 761 additions and 53 deletions
+10
View File
@@ -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;
}