[cfe-commits] Patch to support gold on FreeBSD

Stephen Checkoway s at pahtak.org
Tue Jul 31 13:54:01 PDT 2012

On Jul 31, 2012, at 5:35 AM, Chandler Carruth wrote:

> There are piles of tests for different OSes here, you should be able to
> copy one to get a test for this feature.

I added a test that looks for ld.gold, -plugin, and .../bin/../lib/LLVMgold.so

> How about sinking the relative path and file name into the static helper?
>  addGoldPlugin(CmdArgs, getToolChain().getDriver().Dir);

Done, except that I needed to pass Args as well.

New patch attached.

Stephen Checkoway

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FreeBSD-native-LLVM-support-2.diff
Type: application/octet-stream
Size: 4159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120731/609b1ae1/attachment.obj>
-------------- next part --------------

More information about the cfe-commits mailing list