[llvm] [RemoveDIs][DebugInfo] Verifier and printing fixes for DPLabel (PR #83242)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 02:52:41 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);
+ }
----------------
SLTozer wrote:
No, a hanging change from an intermediate step - will remove!
https://github.com/llvm/llvm-project/pull/83242
More information about the llvm-commits
mailing list