summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-01-07 22:05:45 +0000
committerAdrian Prantl <aprantl@apple.com>2014-01-07 22:05:45 +0000
commitc6758879b3b048e334a84f436cae47f2c314be0b (patch)
tree8fa6ddbc220559abcd1a1e6e74ce296da10526f6 /clang/lib/CodeGen/CGStmt.cpp
parent966c6f6ddfb1830ae9552719dd810a835e76d18c (diff)
downloadbcm5719-llvm-c6758879b3b048e334a84f436cae47f2c314be0b.tar.gz
bcm5719-llvm-c6758879b3b048e334a84f436cae47f2c314be0b.zip
Revert "Debug info: Implement a cleaner version of r198461. For symmetry with"
This reverts commit 198699 so we can get a cleaner patch. llvm-svn: 198713
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp
index b18ff09015a..50882c8536b 100644
--- a/clang/lib/CodeGen/CGStmt.cpp
+++ b/clang/lib/CodeGen/CGStmt.cpp
@@ -37,7 +37,7 @@ void CodeGenFunction::EmitStopPoint(const Stmt *S) {
Loc = S->getLocStart();
DI->EmitLocation(Builder, Loc);
- LastStopPoint = Loc;
+ LastStopPoint = std::make_pair(Loc, DI->getScope());
}
}
OpenPOWER on IntegriCloud