aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-01-03 23:34:30 +0000
committerAdrian Prantl <aprantl@apple.com>2014-01-03 23:34:30 +0000
commit96e70d9148df9f62c0e0d9ff6368b90c0b440c97 (patch)
tree2d60d5d816c8e0495c5907c2e3dd569923e68e34 /clang/lib/CodeGen/CodeGenFunction.h
parentceb16dedefc7833b3f3b7305e751ad9ba748d99b (diff)
downloadllvm-96e70d9148df9f62c0e0d9ff6368b90c0b440c97.zip
llvm-96e70d9148df9f62c0e0d9ff6368b90c0b440c97.tar.gz
llvm-96e70d9148df9f62c0e0d9ff6368b90c0b440c97.tar.bz2
Debug info: Ensure that the last stop point in a function is still within
the lexical block formed by the compound statement that is the function body. rdar://problem/15010825 llvm-svn: 198461
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 6c00b2a..1dd5dab 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -859,7 +859,7 @@ private:
unsigned NumSimpleReturnExprs;
/// The last regular (non-return) debug location (breakpoint) in the function.
- SourceLocation LastStopPoint;
+ std::pair<SourceLocation, llvm::MDNode*> LastStopPoint;
public:
/// A scope within which we are constructing the fields of an object which