[cfe-commits] r50530 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Thu May 1 10:52:49 PDT 2008
Author: kremenek
Date: Thu May 1 12:52:49 2008
New Revision: 50530
URL: http://llvm.org/viewvc/llvm-project?rev=50530&view=rev
Log:
Added __assert_rtn to list of panic functions.
Modified:
cfe/trunk/lib/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=50530&r1=50529&r2=50530&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu May 1 12:52:49 2008
@@ -1097,6 +1097,10 @@
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;
More information about the cfe-commits
mailing list