[cfe-commits] r50526 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Thu May 1 08:55:59 PDT 2008


Author: kremenek
Date: Thu May  1 10:55:59 2008
New Revision: 50526

URL: http://llvm.org/viewvc/llvm-project?rev=50526&view=rev
Log:
Added ziperr as a panic function.  Eventually inter-procedural analysis
should catch this one easily.

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=50526&r1=50525&r2=50526&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu May  1 10:55:59 2008
@@ -1083,6 +1083,11 @@
           
           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:





More information about the cfe-commits mailing list