forked from OSchip/llvm-project
Add stack trace pretty printing in GRExprEngine::VisitLValue().
llvm-svn: 91985
This commit is contained in:
parent
49ace5cd62
commit
76d5225271
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue