LLDB mainline
|
For the purpose of debugging, we can represent all these separated 32-bit address spaces with a single virtual 64-bit address space. More...
#include <ProcessWasm.h>
Public Member Functions | |
wasm_addr_t (lldb::addr_t addr) | |
wasm_addr_t (WasmAddressType type, uint32_t module_id, uint32_t offset) | |
WasmAddressType | GetType () |
operator lldb::addr_t () |
Public Attributes | |
uint64_t | offset: 32 |
uint64_t | module_id: 30 |
uint64_t | type: 2 |
For the purpose of debugging, we can represent all these separated 32-bit address spaces with a single virtual 64-bit address space.
The wasm_addr_t provides this encoding using bitfields.
Definition at line 26 of file ProcessWasm.h.
|
inline |
Definition at line 31 of file ProcessWasm.h.
|
inline |
Definition at line 35 of file ProcessWasm.h.
|
inline |
Definition at line 38 of file ProcessWasm.h.
References type.
Referenced by lldb_private::wasm::ProcessWasm::ReadMemory().
|
inline |
Definition at line 40 of file ProcessWasm.h.
uint64_t lldb_private::wasm::wasm_addr_t::module_id |
Definition at line 28 of file ProcessWasm.h.
Referenced by wasm_addr_t(), and wasm_addr_t().
uint64_t lldb_private::wasm::wasm_addr_t::offset |
Definition at line 27 of file ProcessWasm.h.
Referenced by wasm_addr_t(), and wasm_addr_t().
uint64_t lldb_private::wasm::wasm_addr_t::type |
Definition at line 29 of file ProcessWasm.h.
Referenced by GetType(), wasm_addr_t(), and wasm_addr_t().