[llvm-commits] [poolalloc] r144325 - /poolalloc/trunk/lib/DSA/StdLibPass.cpp
John Criswell
criswell at uiuc.edu
Thu Nov 10 14:39:36 PST 2011
Author: criswell
Date: Thu Nov 10 16:39:36 2011
New Revision: 144325
URL: http://llvm.org/viewvc/llvm-project?rev=144325&view=rev
Log:
Fixed the entry of pool_fgets() so that it merges the first argument and the
return value.
Added an entry for pool_fgets_debug().
Modified:
poolalloc/trunk/lib/DSA/StdLibPass.cpp
Modified: poolalloc/trunk/lib/DSA/StdLibPass.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/StdLibPass.cpp?rev=144325&r1=144324&r2=144325&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/StdLibPass.cpp (original)
+++ poolalloc/trunk/lib/DSA/StdLibPass.cpp Thu Nov 10 16:39:36 2011
@@ -345,7 +345,8 @@
{"pool___snprintf_chk", {NRET_NARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
// Important C I/O functions
- {"pool_fgets", {NRET_NNYARGS, YRET_YNYARGS, NRET_NARGS, NRET_NARGS, true}},
+ {"pool_fgets", {NRET_NNYARGS, YRET_YNYARGS, NRET_NARGS, YRET_YNARGS, true}},
+ {"pool_fgets_debug",{NRET_NNYARGS, YRET_YNYARGS, NRET_NARGS, YRET_YNARGS, true}},
// Type Checks
{"trackArgvType", {NRET_NARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
More information about the llvm-commits
mailing list