[llvm] [RemoveDIs][NFC] Rename DPValue -> DbgVariableRecord (PR #85216)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 10:27:17 PDT 2024
================
@@ -276,8 +276,8 @@ void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
// attached debug-info records.
for (Instruction &II : *BB) {
RemapInstruction(&II, VMap, RemapFlag, TypeMapper, Materializer);
- RemapDPValueRange(II.getModule(), II.getDbgRecordRange(), VMap, RemapFlag,
- TypeMapper, Materializer);
+ RemapDbgVariableRecordRange(II.getModule(), II.getDbgRecordRange(), VMap,
----------------
SLTozer wrote:
I thought about that, but the problem is that it actually is _just_ operating on DbgVariableRecords, even if it does so by taking a DbgRecordRange, so the name feels more correct this way.
https://github.com/llvm/llvm-project/pull/85216
More information about the llvm-commits
mailing list