This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
There is already a function in libiberty which is able to write out the @-file (writeargv), I think you should use that instead of doing it yourself. writeargv is able to handle arguments which have white spaces and quotes.
The attached patch changes the plugin to use it.
Also lto-plugin should use the pex interface instead of fork/execv.
What is the advantage for the simple case of just one subcommand? The plugin
only works on ELF systems...
Thanks, Andrew Pinski
2009-02-04 Rafael Avila de Espindola <espindola@google.com>
* lto-plugin.c (exec_lto_wrapper): Use writeargv.
Cheers, -- Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland Registered in Dublin, Ireland | Registration Number: 368047 <cleanup.patch>
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |