[Lldb-commits] [lldb] [llvm] [lldb] Add address space apertures (PR #232588)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 23 17:47:00 PDT 2026
================
@@ -7256,3 +7257,47 @@ Process::GetAddressSpaceInfo(lldb::addr_space_t address_space_id) {
", expected one of: %s",
address_space_id, ids.c_str());
}
+
+// Address class 0 (default / flat) has no aperture; 0 is the NULL pointer.
+static const AddressSpaceInfo *
+FindFlatAperture(const std::vector<AddressSpaceInfo> &address_spaces,
+ uint32_t address_class) {
----------------
clayborg wrote:
Again, do we need the difference between an "address_class" and a "address_space"? We might as well just have the GPU plug-ins define their address spaces using the "dwarf_address_class" if there can't be a DWARF address class _and_ an address space.
https://github.com/llvm/llvm-project/pull/232588
More information about the lldb-commits
mailing list