[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:43:18 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:

That makes sense, thanks. It's fine to leave as is IMO - I just misread the type slightly.

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


More information about the llvm-commits mailing list