|
LLDB mainline
|
A global declared by the module itself. More...
#include <ObjectFileWasm.h>
Public Attributes | |
| uint8_t | value_type = 0 |
| bool | is_mutable = false |
| std::optional< uint32_t > | size |
| Size of the global's value type, which bounds what a read can produce. | |
| std::optional< uint64_t > | init_expr_value |
| Value the global is initialized with, when the initializer is a constant. | |
A global declared by the module itself.
Imported globals occupy the low indices of the same index space and have no entry here.
Definition at line 22 of file ObjectFileWasm.h.
| std::optional<uint64_t> lldb_private::wasm::WasmGlobal::init_expr_value |
Value the global is initialized with, when the initializer is a constant.
Anything else has to be evaluated against module state the object file does not have.
Definition at line 33 of file ObjectFileWasm.h.
Referenced by AddExportedDataSymbols(), ParseGlobals(), and lldb_private::wasm::ObjectFileWasm::ReadSectionData().
| bool lldb_private::wasm::WasmGlobal::is_mutable = false |
Definition at line 24 of file ObjectFileWasm.h.
Referenced by AddExportedDataSymbols(), and ParseGlobals().
| std::optional<uint32_t> lldb_private::wasm::WasmGlobal::size |
Size of the global's value type, which bounds what a read can produce.
Absent for a value type whose values cannot be read.
Definition at line 28 of file ObjectFileWasm.h.
Referenced by ParseGlobals(), and lldb_private::wasm::ObjectFileWasm::ReadSectionData().
| uint8_t lldb_private::wasm::WasmGlobal::value_type = 0 |
Definition at line 23 of file ObjectFileWasm.h.
Referenced by AddExportedDataSymbols(), and ParseGlobals().