diff options
author | Lang Hames <lhames@gmail.com> | 2015-01-23 22:11:07 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2015-01-23 22:11:07 +0000 |
commit | 28452d85c8dbefcca27ee849c748f9c03d8af01b (patch) | |
tree | 9dc713fc3a31e1c901f702fe90e474c4a4cb8d73 /llvm/lib | |
parent | 20f6c0732f8b9e50c66dcb1f65782bd0124b5f5c (diff) | |
download | bcm5719-llvm-28452d85c8dbefcca27ee849c748f9c03d8af01b.tar.gz bcm5719-llvm-28452d85c8dbefcca27ee849c748f9c03d8af01b.zip |
[Orc] Remove a bunch of constructors from ObjectLinkingLayer.
These constructors were causing trouble for MSVC and older GCCs. This should
fix more of the build failures from r226940.
llvm-svn: 226946
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h b/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h index 9fdf0efdd90..aea58575629 100644 --- a/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h +++ b/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h @@ -122,7 +122,8 @@ public: : TM(std::move(TM)), MM(std::move(MM)), Mang(this->TM->getSubtargetImpl()->getDataLayout()), NotifyObjectLoaded(*this), NotifyFinalized(*this), - ObjectLayer(NotifyObjectLoaded, NotifyFinalized), + ObjectLayer(ObjectLayerT::CreateRTDyldMMFtor(), NotifyObjectLoaded, + NotifyFinalized), CompileLayer(ObjectLayer, SimpleCompiler(*this->TM)), LazyEmitLayer(CompileLayer) { setDataLayout(this->TM->getSubtargetImpl()->getDataLayout()); |