[PATCH] Implement the -fuse-ld= option.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jun 25 14:11:06 PDT 2014


On 25 June 2014 14:34, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> Hi Tim,
>
> AFAIK, the naming convention is something like "ld."+name, e.g.
>
> * ld.bfd for BFD linker
> * ld.gold for Gold
> * ld.mcld for MCLinker
>
> Thus, it won't be the problem for these linkers.  Although, I am not sure
> about lld.
>
> Alternatively, I can slightly extend this option to search both the given
> name and "ld."+name.  However, I am not sure whether this is a good idea or
> not.

We could always have a ld.lld, so I would suggest starting compatible
with the gcc option and only extending it if needed.

Cheers,
Rafael



More information about the cfe-commits mailing list