[Lldb-commits] [lldb] [llvm] [lldb] Add address space apertures (PR #232588)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 26 09:07:45 PDT 2026
================
@@ -21,6 +22,19 @@ struct AddressSpaceInfo {
std::string name;
lldb::addr_space_t space_id = 0;
bool is_thread_specific = false;
+
+ /// Optional flat aperture: pointers whose pointee has DWARF address class
+ /// \a dwarf_address_class hold a value in units of \a pointer_unit bytes
+ /// that maps to the process address flat_base + value * pointer_unit. This
+ /// lets value objects dereference pointers into memories that are not byte
+ /// addressed or not in the default address space (e.g. GPU, DSP, or
+ /// accelerator). Address class 0 (default / flat) has no aperture; 0 is the
+ /// NULL pointer.
+ std::optional<uint32_t> dwarf_address_class;
+ std::optional<lldb::addr_t> flat_base;
+ /// Size in bytes of the flat aperture; 0 means unbounded.
+ uint64_t flat_size = 0;
+ uint64_t pointer_unit = 1;
----------------
halehri wrote:
Done.
https://github.com/llvm/llvm-project/pull/232588
More information about the lldb-commits
mailing list