[Lldb-commits] [lldb] [llvm] Allow DWARF expressions to refer to variable values (PR #181028)

Vladislav Dzhidzhoev via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 7 08:13:40 PDT 2026


================
@@ -4733,6 +4733,54 @@ class DIArgList : public Metadata, ReplaceableMetadataImpl {
   LLVM_ABI void handleChangedOperand(void *Ref, Metadata *New);
 };
 
+/// This holds a DIExpression and a list of variables that are
+/// referenced by that expression.
+class DIVariableExpression : public MDNode {
----------------
dzhidzhoev wrote:

Is that a deliberate decision to inherit it from MDNode, not from DINode?

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


More information about the lldb-commits mailing list