LLDB mainline
WasmAddress.h File Reference
#include "lldb/lldb-types.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  lldb_private::wasm::wasm_addr_t
 For the purpose of debugging, we can represent all these separated 32-bit address spaces with a single virtual 64-bit address space. More...

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
namespace  lldb_private::wasm

Enumerations

enum  lldb_private::wasm::WasmAddressType : uint8_t { lldb_private::wasm::Memory = 0x00 , lldb_private::wasm::Object = 0x01 , lldb_private::wasm::Global = 0x02 , lldb_private::wasm::Invalid = 0x03 }
 Each WebAssembly module has separate address spaces for Code and Memory. More...

Functions

static constexpr uint64_t lldb_private::wasm::MakeFieldMask (uint32_t bits, uint32_t shift)

Variables

static constexpr uint32_t lldb_private::wasm::kWasmOffsetBits = 32
 Widths of the fields a 64-bit address is made of, from the low bits up.
static constexpr uint32_t lldb_private::wasm::kWasmModuleIDBits = 30
static constexpr uint32_t lldb_private::wasm::kWasmAddressTypeBits = 2
static constexpr uint32_t lldb_private::wasm::kWasmModuleIDShift = kWasmOffsetBits
static constexpr uint32_t lldb_private::wasm::kWasmAddressTypeShift
static constexpr uint64_t lldb_private::wasm::kWasmOffsetMask = MakeFieldMask(kWasmOffsetBits, 0)
static constexpr uint64_t lldb_private::wasm::kWasmModuleIDMask
static constexpr uint64_t lldb_private::wasm::kWasmAddressTypeMask