[LLVMdev] What is on the LLVM horizon for truly relocatable JITted code?

David Blaikie dblaikie at gmail.com
Mon Feb 16 12:06:02 PST 2015


+Lang, collector of strange JIT requirements

On Mon, Feb 16, 2015 at 11:47 AM, Christian Schafmeister <
chris.schaf at verizon.net> wrote:

>
> Hello everyone,
>
>
> Is fully relocatable/position-independent JITted code on the horizon or
> currently possible with LLVM?
>
> I’ve written a Common Lisp compiler (currently called Clasp:
> https://github.com/drmeister/clasp) in C++ that uses LLVM as the backend
> and interoperates with C++.  It uses copying garbage collection via the
> Memory Pool System (MPS) garbage collector by Ravenbrook.  This garbage
> collector is precise on the heap and conservative on the stack.
>
> Currently I JIT code to wherever LLVM drops the code and it remains fixed
> in memory.  This causes some problems for implementing a dynamic language
> like Common Lisp because CL considers data and code to be equivalent.
>
> I’d like to move the code into the MPS managed memory and be able to apply
> copying garbage collection to it.  Is this possible?   Will it ever be
> possible?
>
> Best,
>
> Christian Schafmeister
> Professor
> Chemistry Department
> Temple University
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150216/f3064d9c/attachment.html>


More information about the llvm-dev mailing list