[llvm-commits] [poolalloc] r114076 - /poolalloc/trunk/lib/PoolAllocate/PASimple.cpp

John Criswell criswell at uiuc.edu
Thu Sep 16 07:31:45 PDT 2010


Author: criswell
Date: Thu Sep 16 09:31:45 2010
New Revision: 114076

URL: http://llvm.org/viewvc/llvm-project?rev=114076&view=rev
Log:
Added in the missing runtime checks added by SAFECode.

Modified:
    poolalloc/trunk/lib/PoolAllocate/PASimple.cpp

Modified: poolalloc/trunk/lib/PoolAllocate/PASimple.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/PASimple.cpp?rev=114076&r1=114075&r2=114076&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/PASimple.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/PASimple.cpp Thu Sep 16 09:31:45 2010
@@ -94,7 +94,12 @@
       (funcname == "sc.boundscheck") ||
       (funcname == "sc.boundscheckui") ||
       (funcname == "sc.pool_register_stack") ||
-      (funcname == "sc.pool_unregister_stack")) {
+      (funcname == "sc.pool_unregister_stack") ||
+      (funcname == "sc.pool_register_global") ||
+      (funcname == "sc.pool_unregister_global") ||
+      (funcname == "sc.pool_register") ||
+      (funcname == "sc.pool_unregister") ||
+      (funcname == "sc.get_actual_val")) {
     return 1;
   }
 





More information about the llvm-commits mailing list