[llvm-commits] [poolalloc] r126318 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Brice Lin
Brice.Lin at gmail.com
Wed Feb 23 09:51:37 PST 2011
Author: bglin2
Date: Wed Feb 23 11:51:37 2011
New Revision: 126318
URL: http://llvm.org/viewvc/llvm-project?rev=126318&view=rev
Log:
Added debug support for pool_strlen().
Modified:
poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=126318&r1=126317&r2=126318&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Wed Feb 23 11:51:37 2011
@@ -870,6 +870,8 @@
(CF->getName() == "sc.pool_unregister") ||
(CF->getName() == "sc.get_actual_val")) {
visitRuntimeCheck (CS);
+ } else if (CF->getName() == "pool_strlen") {
+ visitCStdLibCheck(CS, 1);
} else if (CF->getName() == "pool_strcpy") {
visitCStdLibCheck(CS, 2);
} else if (CF->getName() == "pthread_create") {
More information about the llvm-commits
mailing list