[llvm-dev] LLD: Calling from within LLVM

Philipp Schaad via llvm-dev llvm-dev at lists.llvm.org
Sat Sep 2 09:34:42 PDT 2017


I see, too bad! Indeed, I agree that this would be a very useful thing to
do at some point.
Thank you a lot for pointing this out!

Best,
Philipp Schaad

On Sat, 2 Sep 2017 at 17:31 David Blaikie <dblaikie at gmail.com> wrote:

> 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/c823b3ce/attachment.html>


More information about the llvm-dev mailing list