[llvm] [DebugInfo][RemoveDIs] Support cloning and remapping DPValues (PR #72546)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 24 01:46:37 PST 2023


================
@@ -175,6 +179,8 @@ class ValueMapper {
   Constant *mapConstant(const Constant &C);
 
   void remapInstruction(Instruction &I);
+  void remapDPValue(Module *M, DPValue &V);
+  void remapDPValueRange(Module *M, iterator_range<simple_ilist<DPValue>::iterator> Range);
----------------
OCHyams wrote:

GitHub reviews continue to throw me - I hadn't seen that you've already made that change. The new change also looks good, and is less confusing at a glance.

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


More information about the llvm-commits mailing list