diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-10-24 11:50:43 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-10-24 11:50:43 +0000 |
commit | fcc1d9473ee6dbc79128561449ff8d603a846f92 (patch) | |
tree | ea712217faf538761ef8f48cbf7548188d2c5bfe /lib/CodeGen/DwarfWriter.cpp | |
parent | ae5d51c9c915f93fbf9b3e644a165c96d6b0ddbd (diff) | |
download | external_llvm-fcc1d9473ee6dbc79128561449ff8d603a846f92.zip external_llvm-fcc1d9473ee6dbc79128561449ff8d603a846f92.tar.gz external_llvm-fcc1d9473ee6dbc79128561449ff8d603a846f92.tar.bz2 |
Tighter data structure for deleted debug labels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index c600edb..7e3e483 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/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(); |