[lto][patch] Use @args when calling lto-wrapper

Rafael Espindola espindola@google.com
Thu Jan 29 17:04:00 GMT 2009


> It is OK to use anything in libiberty, which has asprintf..

Good to know!

The attached patch changes the plugin to use asprintf.

2009-01-29  Rafael Avila de Espindola  <espindola@google.com>

	* lto-plugin.c: Include libiberty.h.
	(exec_lto_wrapper, claim_file_handler): Use asprintf instead of
	snprintf.

> --
> H.J.
>

Thanks,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asprintf.patch
Type: text/x-patch
Size: 1580 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090129/ec2dd95f/attachment.bin>


More information about the Gcc-patches mailing list