[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


================
@@ -34,7 +34,8 @@ class Variable : public UserID, public std::enable_shared_from_this<Variable> {
            SymbolContextScope *owner_scope, const RangeList &scope_range,
            Declaration *decl, const DWARFExpressionList &location,
            bool external, bool artificial, bool location_is_constant_data,
-           bool static_member = false);
+           bool static_member = false,
+           std::optional<uint64_t> m_tag_offset = std::nullopt);
----------------
fmayer wrote:

nit: for consistency, call this `tag_offset` (without the `m_`)

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


More information about the lldb-commits mailing list