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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 16 07:37:03 PDT 2025


================
@@ -59,6 +59,18 @@ class DWARFExpressionList {
 
   lldb::addr_t GetFuncFileAddress() { return m_func_file_addr; }
 
+  /// Represents an entry in the DWARFExpressionList with all needed metadata
+  struct DWARFExpressionEntry {
+    lldb::addr_t base;
+    lldb::addr_t end;
----------------
JDevlieghere wrote:

Are these file or load addresses? If you use `lldb::addr_t` (as opposed to the `Address` class), it's always a good idea to make that part of the variable name (like you did for `func_load_addr`) or at least add a Doxygen-style comment. 

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


More information about the lldb-commits mailing list