[patch] Start adding tests for the gold plugin

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jul 23 14:41:23 PDT 2014


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: 1953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140723/3b81b71f/attachment.bin>


More information about the llvm-commits mailing list