[ewasm] Add support for hera debugging module.

This commit is contained in:
Alexander Arlt
2021-01-18 20:06:12 -05:00
parent 957e9995a0
commit 321e971eb3
4 changed files with 75 additions and 54 deletions
+7
View File
@@ -85,6 +85,13 @@ private:
wasm::FunctionDefinition translateFunction(yul::FunctionDefinition const& _funDef);
/// Imports an external function into the current module.
/// @param _builtin _builtin the builtin that will be imported into the current module.
/// @param _module _module the module name under which the external function can be found.
/// @param _externalName the name of the external function within the module _module.
/// @param _internalName the name of the internal function under that the external function is accessible.
void importBuiltinFunction(BuiltinFunction const* _builtin, std::string const& _module, std::string const& _externalName, std::string const& _internalName);
std::string newLabel();
/// Selects a subset of global variables matching specified sequence of variable types.
/// Defines more global variables of a given type if there's not enough.