[Lldb-commits] [lldb] [llvm] [lldb] Support DW_AT_address_class on pointer types in DWARFASTParserClang (PR #230555)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 28 02:26:06 PDT 2026


================
@@ -207,6 +207,13 @@ class TypeSystem : public PluginInterface,
     return false;
   }
 
+  /// Returns the target address space (the DWARF address class) of \p type,
+  /// or std::nullopt if it lives in the default address space.
+  virtual std::optional<uint32_t>
+  GetTargetAddressSpace(lldb::opaque_compiler_type_t type) {
----------------
Michael137 wrote:

Looks like you weren't actually overriding this in TypeSystemClang

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


More information about the lldb-commits mailing list