[cfe-commits] r56327 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Thu Sep 18 19:30:48 PDT 2008
Author: kremenek
Date: Thu Sep 18 21:30:47 2008
New Revision: 56327
URL: http://llvm.org/viewvc/llvm-project?rev=56327&view=rev
Log:
Add panic function "__assert_fail".
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=56327&r1=56326&r2=56327&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Sep 18 21:30:47 2008
@@ -1145,6 +1145,10 @@
if (!memcmp(s, "__assert_rtn", 12)) Builder->BuildSinks = true;
break;
+ case 13:
+ if (!memcmp(s, "__assert_fail", 13)) Builder->BuildSinks = true;
+ break;
+
case 14:
if (!memcmp(s, "dtrace_assfail", 14)) Builder->BuildSinks = true;
break;
More information about the cfe-commits
mailing list