aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-01 15:55:59 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-01 15:55:59 +0000
commitc7122d5dd2aba01a59259f1f659bf59eca30d7e6 (patch)
treedeced1caf8f61b26d295cd93653205f88445c999 /lib/Analysis/GRExprEngine.cpp
parent66783caa67fd947787a0656fa642ddb4e770f074 (diff)
Added ziperr as a panic function. Eventually inter-procedural analysis
should catch this one easily. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index e10e9ae8f3..2a1aa5ec5f 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -1083,6 +1083,11 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred,
case 6:
if (!memcmp(s, "Assert", 6)) Builder->BuildSinks = true;
+
+ // FIXME: This is just a wrapper around throwing an exception.
+ // Eventually inter-procedural analysis should handle this easily.
+ if (!memcmp(s, "ziperr", 6)) Builder->BuildSinks = true;
+
break;
case 7: