[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
Fri Oct 30 08:52:06 PDT 2026


================
@@ -469,6 +469,24 @@ ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(const DWARFDIE &die) {
       decl.SetColumn(form_value.Unsigned());
       break;
 
+    case DW_AT_address_class: {
+      uint64_t val = form_value.Unsigned();
+      if (val != llvm::dwarf::DW_ADDR_none) {
----------------
Michael137 wrote:

We can reduce indentation here by doing:

```suggestion
      if (val == llvm::dwarf::DW_ADDR_none)
        break;
```

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


More information about the lldb-commits mailing list