[llvm-commits] [patch] Add an emit-llvm option to the gold plugin

Rafael Espindola espindola at google.com
Wed May 12 18:32:40 PDT 2010


The attached patch adds the emit-llvm option to the gold plugin. It is
a bit different from the behaviour of this option in other tools in
that it requires a filename and gold still produces a regular ELF
output. The reasons are

*) The is no clean way for the plugin to get the name of the output file
*) There is no clean way for the plugin to stop gold (short of calling exit(0))

Is this ok? Should I rename the option to also-emit-llvm?

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emit-llvm.patch
Type: application/octet-stream
Size: 1749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100512/b6093e89/attachment.obj>


More information about the llvm-commits mailing list