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 | 516cd40b5c6dd3f3c63c03b245b27a1a4fe8a094 (patch) | |
| tree | 68d841ac090f1b61e52d3dcb32488f771fd1f092 /llvm/lib/CodeGen/DwarfWriter.cpp | |
| parent | ebb1ad4382c1e8cf83e2f716436256dd8e12553f (diff) | |
| download | bcm5719-llvm-516cd40b5c6dd3f3c63c03b245b27a1a4fe8a094.tar.gz bcm5719-llvm-516cd40b5c6dd3f3c63c03b245b27a1a4fe8a094.zip | |
Tighter data structure for deleted debug labels.
llvm-svn: 31152
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |

