mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user