From 516cd40b5c6dd3f3c63c03b245b27a1a4fe8a094 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 24 Oct 2006 11:50:43 +0000 Subject: Tighter data structure for deleted debug labels. llvm-svn: 31152 --- llvm/lib/CodeGen/DwarfWriter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp') diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index c600edbdf83..7e3e4831d1e 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -2207,8 +2207,7 @@ void DwarfWriter::EmitDebugLines() const { const SourceLineInfo &LineInfo = LineInfos[i]; unsigned LabelID = LineInfo.getLabelID(); - // Throw out line info if label is invalid. - if (!DebugInfo->isLabelValid(LabelID)) continue; + // Source line labels are validated at the MachineDebugInfo level. if (DwarfVerbose) { unsigned SourceID = LineInfo.getSourceID(); -- cgit v1.2.3