|
LLDB mainline
|
A global declared by the module itself. More...
#include <ObjectFileWasm.h>
Public Attributes | |
| 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 30 of file ObjectFileWasm.h.
Referenced by ParseGlobals(), and lldb_private::wasm::ObjectFileWasm::ReadSectionData().
| 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 25 of file ObjectFileWasm.h.
Referenced by ParseGlobals(), and lldb_private::wasm::ObjectFileWasm::ReadSectionData().