[llvm] [DebugInfo][RemoveDIs] Support cloning and remapping DPValues (PR #72546)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 07:50:34 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:
Why does this take an iterator range iterator rather than just iterator range?
https://github.com/llvm/llvm-project/pull/72546
More information about the llvm-commits
mailing list