[llvm] [RemoveDIs][DebugInfo] Verifier and printing fixes for DPLabel (PR #83242)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 02:44:12 PST 2024


================
@@ -3026,9 +3030,10 @@ void Verifier::visitBasicBlock(BasicBlock &BB) {
   }
 
   // Confirm that no issues arise from the debug program.
-  if (BB.IsNewDbgInfoFormat)
+  if (BB.IsNewDbgInfoFormat) {
     CheckDI(!BB.getTrailingDPValues(), "Basic Block has trailing DbgRecords!",
             &BB);
+  }
----------------
OCHyams wrote:

Clang-format overreaching here?

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


More information about the llvm-commits mailing list