[llvm-commits] [patch][libLTO/gold] Make it possible to set the flags passed to the assembler

Rafael Espindola espindola at google.com
Tue Aug 10 10:42:23 PDT 2010


The attached patch makes it possible to pass extra flags to the
assembler. The gnu assembler needs extra flags like

* --32/--64 to select x86 or x86-64
* -mfpu on arm to select which fp instructions are available

I could just implement this logic in libLTO, but since a similar logic
exists in clang that didn't look like the right approach. One day I
should implement a use-gold-plugin option in clang and it would be
nice for clang to be able to just pass those flags to libLTO.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: as-flags.patch
Type: text/x-patch
Size: 4886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100810/07dd3433/attachment.bin>


More information about the llvm-commits mailing list