This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][patch] Add a -nop option to the linker plugin
- From: Diego Novillo <dnovillo at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 8 Dec 2008 09:45:01 -0500
- Subject: Re: [lto][patch] Add a -nop option to the linker plugin
- References: <38a0d8450812080548l48502fbbq8a282e60117c7641@mail.gmail.com>
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.
Diego.