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

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 04:48:49 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;
----------------
jmorse wrote:

Just to confirm my understanding, this is just a Metadata pointer with some extra plumbing, right? (i.e., doesn't change the size of DPValue)

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


More information about the llvm-commits mailing list