summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-07-11 15:32:13 +0000
committerEric Christopher <echristo@apple.com>2012-07-11 15:32:13 +0000
commitf8b9809fab41b1ab5da7dd4815bb04b1ef7c7b69 (patch)
treec342a756b6cdf890251a213dded5210466431360 /clang/lib/CodeGen/CGDebugInfo.cpp
parent1808bbedafab493d3cfde409f5a49b65348b7dd8 (diff)
downloadbcm5719-llvm-f8b9809fab41b1ab5da7dd4815bb04b1ef7c7b69.tar.gz
bcm5719-llvm-f8b9809fab41b1ab5da7dd4815bb04b1ef7c7b69.zip
Temporarily revert this to see if it brings the gdb bot back.
llvm-svn: 160049
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 11a5ddc7ceb..c604e565391 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2135,6 +2135,10 @@ void CGDebugInfo::EmitLexicalBlockStart(CGBuilderTy &Builder, SourceLocation Loc
/// region - end of a DW_TAG_lexical_block.
void CGDebugInfo::EmitLexicalBlockEnd(CGBuilderTy &Builder, SourceLocation Loc) {
assert(!LexicalBlockStack.empty() && "Region stack mismatch, stack empty!");
+
+ // Provide an entry in the line table for the end of the block.
+ EmitLocation(Builder, Loc);
+
LexicalBlockStack.pop_back();
}
OpenPOWER on IntegriCloud