Fix jit with LLVM 8 (#2944)

This commit is contained in:
Nicholas Wilson 2018-12-18 16:02:13 +08:00 committed by GitHub
parent d4858cfbcb
commit 3dc367db40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -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};
}),