[PATCH] Add an LTO interface to parse metadata and extract linker options

Reid Kleckner rnk at google.com
Tue Jan 14 16:16:02 PST 2014


On Tue, Jan 14, 2014 at 3:54 PM, Nick Lewycky <nlewycky at google.com> wrote:

>   A Module more or less corresponds to a single .o file, which makes
> storing
>   properties like linker flags a bit unusual. (This is true regardless of
> whether
>   you make it a first class property or use named metadata.) Could you
> explain
>   why it belongs here?
>

Unusual for ELF, but both MachO and COFF apparently have places to store
linker flags.  So, we have to float that through LLVM's Module.  =/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140114/78623701/attachment.html>


More information about the llvm-commits mailing list