[Lldb-commits] [lldb] [lldb] Support DW_AT_address_class in DWARFASTParserClang (PR #230555)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Sun Oct 18 06:03:40 PDT 2026
================
@@ -571,6 +571,8 @@ struct ParsedDWARFTypeAttributes {
uint32_t bit_stride = 0;
uint32_t byte_stride = 0;
uint32_t encoding = 0;
+ /// DW_AT_address_class of a pointer or reference type (0 = none).
+ uint32_t address_class = 0;
----------------
Michael137 wrote:
Really we should initialize this to `llvm::dwarf::DW_ADDR_none`
>From the DWARFv5 spec:
```
The set of permissible values is specific to each target architecture. The value DW_ADDR_none, however, is common to all encodings, and means that no address class has been specified.
```
Could you add that constant in a separate PR? That'd be helpful.
https://github.com/llvm/llvm-project/pull/230555
More information about the lldb-commits
mailing list