[Lldb-commits] [lldb] [lldb] Add DWARFExpressionEntry and GetExpressionEntryAtAddress() to … (PR #144238)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 25 10:00:14 PDT 2025


================
@@ -58,6 +59,19 @@ class DWARFExpressionList {
   }
 
   lldb::addr_t GetFuncFileAddress() { return m_func_file_addr; }
+  
+  /// Represents an entry in the DWARFExpressionList with all needed metadata.
+  struct DWARFExpressionEntry {
+    AddressRange file_range; /// Represents a DWARF location range in the DWARF unit’s file‐address space
----------------
adrian-prantl wrote:

Either:
```
AddressRange file_range; ///< Represents a DWARF location range in the DWARF unit’s file‐address space.
```
or (preferred)
```
 /// Represents a DWARF location range in the DWARF unit’s file‐address space.
 AddressRange file_range;
```

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


More information about the lldb-commits mailing list