[llvm-commits] [patch] Small fixes to the gold plugin

Rafael Espindola espindola at google.com
Mon Jun 14 12:28:00 PDT 2010


The attached patch has two small fixes to the gold plugin. First, it
moves two checks out of the per file loop. I assume this was broken in
the recent changes. Right now the plugin will produce no output if any
file was fully unused.

The second fix is a special case for _start. We need this for the
uncommon situation that a full program is LLVM IL (including the crt*
files). In this case the resolution of nothing is LDPR_PREVAILING_DEF
and we drop all symbols.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gold-plugin.patch
Type: text/x-patch
Size: 1264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100614/428b24b7/attachment.bin>


More information about the llvm-commits mailing list