[Lldb-commits] [lldb] [LLDB] Teach LLDB to read the DW_AT_LLVM_tag_offset attribute for variables (PR #181011)

Florian Mayer via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 11 12:46:42 PST 2026


================
@@ -79,6 +80,9 @@ class Variable : public UserID, public std::enable_shared_from_this<Variable> {
     return m_location_list;
   }
 
+  uint64_t GetTagOffset() const { return m_tag_offset.value(); }
+
+  bool HasTagOffset() const { return m_tag_offset.has_value(); }
----------------
fmayer wrote:

nit: newline after this. maybe not between the two

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


More information about the lldb-commits mailing list