https://llvm.org/bugs/show_bug.cgi?id=28529
Bug ID: 28529 Summary: OrcMCJITReplacement::removeModule does not work as expected Product: libraries Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: OrcJIT Assignee: unassignedb...@nondot.org Reporter: aamir.va...@algocell.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified OrcMCJITReplacement does not override ExecutionEngine::removeModule. This appears to prevent the use-case of adding a module, compiling, running and then removing the module, using ExecutionEngine. The patch appears to be to implement OrcMCJITReplacement::removeModule and include a call to LazyEmitLayer.removeModuleSet Note there is an added complication that OrcMCJITReplacement::addModule calls LazyEmitLayer.addModuleSet without returning the resulting ModuleSetHandleT, but this value is needed for calling LazyEmitLayer.removeModuleSet -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs