[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:46:59 PDT 2026


================
@@ -399,6 +402,12 @@ class CompilerType {
   /// supports ptrauth modifiers, else return an invalid type. Note that this
   /// does not check if this type is a pointer.
   CompilerType AddPtrAuthModifier(uint32_t payload) const;
+
+  /// Return a new CompilerType that qualifies this type with the given target
+  /// address space (DWARF address class) if this type is valid and the type
+  /// system supports target address spaces. Passing 0 (DW_ADDR_none) returns
+  /// this type unchanged.
+  CompilerType AddAddressSpaceModifier(uint32_t address_space) const;
----------------
clayborg wrote:

use `lldb::addr_space_t` if this is designed to match the info from `AddressSpaceInfo`. 

https://github.com/llvm/llvm-project/pull/232588


More information about the lldb-commits mailing list