Tighter data structure for deleted debug labels.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-10-24 11:50:43 +00:00
parent ae5d51c9c9
commit fcc1d9473e
3 changed files with 22 additions and 8 deletions

View File

@ -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();