[llvm] [DebugInfo][RemoveDIs] Emulate inserting insts in dbg.value sequences (PR #73350)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 09:19:19 PST 2023


================
@@ -267,6 +267,19 @@ void DPMarker::dropOneDPValue(DPValue *DPV) {
   DPV->deleteInstr();
 }
 
+std::optional<DPValue::self_iterator> DPMarker::getReinsertionPosition() {
----------------
OCHyams wrote:

Yeah that sounds ok to me. Or can it be standalone (if so, maybe a static method on DPMarker makes sense?)? Unsure.

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


More information about the llvm-commits mailing list