c++ - dynamic linking with LLVM -


i want execute functions in module, module have dependencies resolved in other modules. modules might change (dynamic compilation environment) prefer not not link dependencies in single monolithic module, is, if can avoided

i hope use linker::linkmodules destructive on source module. ok 1 module depending on single one, since if 1 changed, no big deal, isn't overkill rebuild , relink n-1 modules did not change because of single 1 changed?

i wonder if there non-destructive version of linkmodules can work jit execution.

try this:

linker::linkmodules(destinationmodule, sourcemodule, linker::preservesource, &error); 

if pass linker::preservesource instead of linker::destroysource, can continue use sourcemodule after call.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -