[llvm-dev] LLD to be the default linker in Clang

Jakob Bornecrantz via llvm-dev llvm-dev at lists.llvm.org
Sun Oct 30 12:02:26 PDT 2016


On Fri, Oct 28, 2016 at 8:44 PM, Andrew Kelley via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I did not realize LLD was already far enough along to use. I have a related
> question: What about using LLD via library API?
>
> I would love to link against LLD and call API functions instead of trying to
> find the system linker and spawning a child process and having different
> code for each system linker. If I could use LLD as a library that would be
> one less moving part in my compiler, one less potential thing that could go
> wrong for my users.

Ditto.

Tho you probably need to different code in order to find the system libraries.

Cheers, Jakob.


More information about the llvm-dev mailing list