diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-12-23 04:09:43 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-12-23 04:09:43 +0000 |
commit | e59df87e787d4dc53e6a1af29e89d3ea1839ef0b (patch) | |
tree | 4c08d4ddfc3f342af1a224c27ef735ee440f6176 | |
parent | e383768f7f5d45ca4af0b1c11cbf072de18bce98 (diff) |
Add stack trace pretty printing in GRExprEngine::VisitLValue().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91985 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index cc39618095..22becee289 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -744,6 +744,10 @@ void GRExprEngine::Visit(Stmt* S, ExplodedNode* Pred, ExplodedNodeSet& Dst) { void GRExprEngine::VisitLValue(Expr* Ex, ExplodedNode* Pred, ExplodedNodeSet& Dst) { + + PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(), + Ex->getLocStart(), + "Error evaluating statement"); Ex = Ex->IgnoreParens(); |