[llvm-dev] LLD: Calling from within LLVM

David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Sat Sep 2 08:31:42 PDT 2017


There currently isn't any way - the layering isn't really setup that way
for one thing (lld depends on llvm, not the other way around). But it might
be nice to sink some.of lld's libraries into llvm(they'd need a bunch of
refactoring to become reusable libraries) for use in the jit or other
places.

On Sat., 2 Sep. 2017, 7:10 am Philipp Schaad via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hello everyone
>
> I was wondering if there was a way to call LLD from code within LLVM. More
> concrete: I am working in Polly, and I am trying to link an ELF relocatable
> object file into an ELF shared object file. Is there a way to  run an LLD
> pass from within the code?
>
> Thank you in advance for any pointers!
> Best,
> Philipp Schaad
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170902/ab6b7a34/attachment.html>


More information about the llvm-dev mailing list