Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit f5a7466

Browse files
committed
Update
1 parent 217512b commit f5a7466

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tc/core/polyhedral/llvm_jit.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ void Jit::addModule(std::shared_ptr<Module> M) {
103103
}
104104
#else
105105
Jit::Jit()
106-
: ES(),
106+
: SSP(),
107+
ES(SSP),
107108
Resolver(llvm::orc::createLegacyLookupResolver(
108109
[this](const std::string& Name) -> JITSymbol {
109110
if (auto Sym = compileLayer_.findSymbol(Name, false))
@@ -115,9 +116,7 @@ Jit::Jit()
115116
return JITSymbol(SymAddr, JITSymbolFlags::Exported);
116117
return nullptr;
117118
},
118-
[](Error err) {
119-
throw std::runtime_error("Lookup failed: ");// + err);
120-
})),
119+
[](Error err) { throw std::runtime_error("Lookup failed!"); })),
121120
TM_(EngineBuilder().selectTarget()),
122121
DL_(TM_->createDataLayout()),
123122
objectLayer_(

tc/core/polyhedral/llvm_jit.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class Scop;
3434
class Jit {
3535
private:
3636
#if LLVM_VERSION_MAJOR > 6
37+
llvm::orc::SymbolStringPool SSP;
3738
llvm::orc::ExecutionSession ES;
3839
std::shared_ptr<llvm::orc::SymbolResolver> Resolver;
3940
#endif

third-party/halide

Submodule halide updated 181 files

0 commit comments

Comments
 (0)