[patch] Start adding tests for the gold plugin

Rafael Espíndola rafael.espindola at gmail.com
Fri Jul 25 17:43:56 PDT 2014


Also added a test for the recent -mtattr fix.

Adding Alexey Samsonov for the lit bits.

On 23 July 2014 18:24, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> And the attached patch also works when running on ppc.
>
> On 23 July 2014 17:41, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
>> Hi Nick,
>>
>> I cannot remember exactly why we never added direct tests for the gold
>> plugin. It might be that it was uncommon to have a ld with plugin
>> support or maybe it was just that our test infrastructure was not able
>> to handle it.
>>
>> In any case, it seems that it is now fairly easy to test the plugin
>> when the tests are run in a machine with a ld that supports plugins.
>> The attached patch adds a simple test for a previous fix.
>>
>> I have tested that it works with both gold (passes) and bfd ld
>> (unsupported) on linux.
>>
>> I am currently building on a non-x86 machine to test that.
>>
>> Cheers,
>> Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 2252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140725/34069844/attachment.bin>


More information about the llvm-commits mailing list