[LLVMdev] Alternative to Linker::LinkInFile()

Daniel Dunbar daniel at zuster.org
Thu Feb 14 16:41:41 PST 2013


Hi Tom,

>From the context I am assuming you are in a JIT context, so the comments
about using a platform specific LTO mechanism don't apply.

Were you using this code to extract bitcode files from archives, or just to
link in an individual bitcode file?

 - Daniel



On Wed, Feb 13, 2013 at 12:24 PM, Tom Stellard <tom at stellard.net> wrote:

> Hi Daniel,
>
> In r172749 you removed the Linker::LinkInFiles() function and mentioned
> in the commit message that users of this function should migrate to
> "platform-specific linker-integrated LTO mechanisms, or the forthcoming
> LLVM linker."
>
> I'm trying to update this code:
>
> http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/clover/llvm/invocation.cpp
> to work with TOT and I was wondering if you could elaborate a little more
> on these alternatives and maybe provide an example?
>
> Thanks,
> Tom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130214/e794d154/attachment.html>


More information about the llvm-dev mailing list