mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 05:16:19 +03:00
Fix jit with LLVM 8 (#2944)
This commit is contained in:
parent
d4858cfbcb
commit
3dc367db40
2 changed files with 9 additions and 1 deletions
|
@ -95,7 +95,7 @@ JITContext::JITContext()
|
|||
execSession(stringPool), resolver(createResolver()),
|
||||
objectLayer(execSession,
|
||||
[this](llvm::orc::VModuleKey) {
|
||||
return llvm::orc::RTDyldObjectLinkingLayer::Resources{
|
||||
return ObjectLayerT::Resources{
|
||||
std::make_shared<llvm::SectionMemoryManager>(),
|
||||
resolver};
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue