[llvm] [RemoveDIs][DebugInfo] Add DPValue checks to the verifier, prepare DPValue for parsing support (PR #79810)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 07:43:23 PST 2024


================
@@ -81,7 +81,7 @@ class DPValue : public ilist_node<DPValue>, private DebugValueUser {
   // DebugValueUser superclass instead. The referred to Value can either be a
   // ValueAsMetadata or a DIArgList.
 
-  DILocalVariable *Variable;
+  TrackingMDNodeRef Variable;
----------------
SLTozer wrote:

Correct - it's just a wrapped `Metadata*`.

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


More information about the llvm-commits mailing list