LLDB mainline
RegisterContextWasm.cpp File Reference
#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< DataBufferSPReadWasmValue (ProcessWasm &process, const WasmVirtualRegisterInfo &reg_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.

Function Documentation

◆ ReadWasmValue()

llvm::Expected< DataBufferSP > ReadWasmValue ( ProcessWasm & process,
const WasmVirtualRegisterInfo & reg_info,
uint32_t frame_index,
uint32_t module_id )
static