summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-10-24 11:50:43 +0000
committerJim Laskey <jlaskey@mac.com>2006-10-24 11:50:43 +0000
commit516cd40b5c6dd3f3c63c03b245b27a1a4fe8a094 (patch)
tree68d841ac090f1b61e52d3dcb32488f771fd1f092 /llvm/lib/CodeGen/DwarfWriter.cpp
parentebb1ad4382c1e8cf83e2f716436256dd8e12553f (diff)
downloadbcm5719-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.cpp3
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();
OpenPOWER on IntegriCloud