|
LLDB mainline
|
#include "RegisterContextWasm.h"#include "Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h"#include "ProcessWasm.h"#include "ThreadWasm.h"#include "lldb/Utility/LLDBLog.h"#include "lldb/Utility/Log.h"#include "lldb/Utility/RegisterValue.h"#include "llvm/Support/Error.h"#include <memory>Go to the source code of this file.
Functions | |
| static llvm::Expected< DataBufferSP > | ReadWasmValue (ProcessWasm &process, const WasmVirtualRegisterInfo ®_info, uint32_t frame_index, uint32_t module_id) |
| A local and an operand stack value belong to the frame, while a global belongs to the module instance the frame is executing, which is named directly wherever the stub accepts one. | |
|
static |
A local and an operand stack value belong to the frame, while a global belongs to the module instance the frame is executing, which is named directly wherever the stub accepts one.
Definition at line 73 of file RegisterContextWasm.cpp.
References lldb_private::wasm::ProcessWasm::CanNameInstance(), lldb_private::eWasmTagGlobal, lldb_private::wasm::ProcessWasm::GetWasmGlobalForFrame(), lldb_private::wasm::ProcessWasm::GetWasmGlobalForModule(), lldb_private::wasm::ProcessWasm::GetWasmVariable(), lldb_private::wasm::WasmVirtualRegisterInfo::index, and lldb_private::wasm::WasmVirtualRegisterInfo::kind.
Referenced by lldb_private::wasm::RegisterContextWasm::ReadRegister().