23 llvm::Triple::wasm32);
34 return llvm::createStringError(
"no process");
39 uint32_t concrete_frame_idx = 0;
46 if (concrete_frame_idx == 0)
47 return std::make_shared<RegisterContextWasm>(
uint32_t GetConcreteFrameIndex() const
Query this frame to find what frame it is in this Thread's StackFrameList, not counting inlined frame...
lldb::TargetSP CalculateTarget() override
std::unique_ptr< lldb_private::Unwind > m_unwinder_up
It gets set in Thread::ShouldResume.
lldb::ProcessSP GetProcess() const
lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame)
ProcessWasm provides the access to the Wasm program state retrieved from the Wasm engine.
process_gdb_remote::GDBRemoteDynamicRegisterInfoSP & GetRegisterInfo()
llvm::Expected< std::vector< lldb::addr_t > > GetWasmCallStack(lldb::tid_t tid)
Retrieve the current call stack from the WebAssembly remote process.
Unwind & GetUnwinder() override
llvm::Expected< std::vector< lldb::addr_t > > GetWasmCallStack()
Retrieve the current call stack from the WebAssembly remote process.
lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame) override
UnwindWasm manages stack unwinding for a WebAssembly process.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Process > ProcessSP
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP
lldb::user_id_t GetID() const
Get accessor for the user ID.