[llvm] [DebugInfo][RemoveDIs] Rip out the UseNewDbgInfoFormat flag (PR #143207)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 02:50:34 PDT 2025


================
@@ -302,6 +298,7 @@ TEST(ValueTest, replaceUsesOutsideBlock) {
   auto GetNext = [](auto *I) { return &*++I->getIterator(); };
 
   Function *F = M->getFunction("f");
+  F->convertFromNewDbgValues();
----------------
OCHyams wrote:

Why do we want to keep this test around in old-mode? `replaceDbgUsesOutsideBlock` has a DbgRecord implementation - perhaps it would be good to run this test in both modes if you think the old-mode is still needed? 

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


More information about the llvm-commits mailing list