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

Diego Novillo dnovillo@google.com
Mon Dec 8 15:11:00 GMT 2008

On Mon, Dec 8, 2008 at 08:48, Rafael Espindola <espindola@google.com> wrote:
> 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.

This also means that we rely on the input files to be hybrid.
This will stop working when we start supporting IL-only objects.

Could you add a comment somewhere?  The plugin should have some
documentation on its arguments.  Either in a --help, external
document or comments (or all three!).

> +static void
> +use_original_files (void)

Needs comment.

OK with those changes.


More information about the Gcc-patches mailing list