diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-01 17:52:49 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-01 17:52:49 +0000 |
commit | 24cb8a20ccf9fdd520d2935df3c3ab04476ed4e9 (patch) | |
tree | c130863cdb9e443929262957766f028751659e02 /lib/Analysis/GRExprEngine.cpp | |
parent | ea958e57a370b641c5a69347b75e9f8e3b5a41a2 (diff) |
Added __assert_rtn to list of panic functions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-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 2a1aa5ec5f..6599188533 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1097,6 +1097,10 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred, case 8: if (!memcmp(s ,"db_error", 8)) Builder->BuildSinks = true; break; + + case 12: + if (!memcmp(s, "__assert_rtn", 12)) Builder->BuildSinks = true; + break; case 14: if (!memcmp(s, "dtrace_assfail", 14)) Builder->BuildSinks = true; |