[lto][patch] Add a -nop option to the linker plugin

Rafael Espindola espindola@google.com
Mon Dec 8 13:53:00 GMT 2008


This patch adds a -nop option to the plugin. With this option the
plugin just uses the original files, instead of running wpa. This is
useful for trying to find if a problem is on wpa or in the plugin
itself.

2008-12-08  Rafael Avila de Espindola  <espindola@google.com>

	* lto-plugin.c (nop): New.
	(use_original_files): New.
	(all_symbols_read_handler): Call use_original_files if nop is true.
	(process_option): Parse the -nop option.

Cheers,
-- 
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: nop.patch
Type: text/x-diff
Size: 1417 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081208/2fcbcfda/attachment.bin>


More information about the Gcc-patches mailing list