[Orc] Remove the OwnedModules list from OrcMCJITReplacement and use
authorLang Hames <lhames@gmail.com>
Mon, 2 Feb 2015 04:34:02 +0000 (04:34 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 2 Feb 2015 04:34:02 +0000 (04:34 +0000)
commitc0721c2172ad951a4ab1baf8e70922215b6be450
tree6dba613e54e13867567900f628f997329104c838
parent81ab23434402703603b7f99ca036f21c27c9c100
[Orc] Remove the OwnedModules list from OrcMCJITReplacement and use
ExecutionEngine's Modules list instead.

This makes the owned modules visibile to ExecutionEngine. In particular,
it is required for ExecutionEngine::runStaticConstructorsAndDestructors to
work.

Regression tests for Orc (which test this issue) will be committed shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227779 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h