[LLVMbugs] [Bug 16795] New: MCJIT does not support multiple modules

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 5 11:43:23 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16795

            Bug ID: 16795
           Summary: MCJIT does not support multiple modules
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.kaylor at intel.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In order for a single instance of MCJIT to be able to allow users to add new
code after compiling, MCJIT must support multiple modules.

Currently MCJIT assumes that it will only ever need to work with one module.
Several member variables reflect the state of that module, and these will need
to be re-worked to track the state of multiple modules.

In addition, MCJIT should attempt to provide cross-module linking for the
modules it owns, while still allowing the user to override this behavior if
necessary.

The code used in the MCJIT implementation of Kaleidoscope (see
http://blog.llvm.org/2013/07/kaleidoscope-performance-with-mcjit.html) may be
helpful in guiding this feature development.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130805/029cd6e9/attachment.html>


More information about the llvm-bugs mailing list