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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs