[llvm-commits] [poolalloc] r133752 - /poolalloc/trunk/lib/DSA/StdLibPass.cpp
Matthew Wala
mttjwl at gmail.com
Thu Jun 23 13:21:53 PDT 2011
Author: wala1
Date: Thu Jun 23 15:21:53 2011
New Revision: 133752
URL: http://llvm.org/viewvc/llvm-project?rev=133752&view=rev
Log:
Allow DSA to recognize more transformed format string functions:
pool_err(), pool_errx(), pool_warn(), pool_warnx(), pool_syslog()
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=133752&r1=133751&r2=133752&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/StdLibPass.cpp (original)
+++ poolalloc/trunk/lib/DSA/StdLibPass.cpp Thu Jun 23 15:21:53 2011
@@ -305,6 +305,11 @@
{"pool_fprintf", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
{"pool_sprintf", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
{"pool_snprintf", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
+ {"pool_err", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
+ {"pool_errx", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
+ {"pool_warn", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
+ {"pool_warnx", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
+ {"pool_syslog", {NRET_YARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
// Type Checks
{"trackGlobal", {NRET_NARGS, NRET_NARGS, NRET_NARGS, NRET_NARGS, false}},
More information about the llvm-commits
mailing list