aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eric Liu <ioeric@google.com>2018-05-17 05:57:31 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-17 06:00:43 -0700
commit9f1d31d0b2ed6610b40c185dded5c50300605daa (patch)
tree63fcc7885585d9dcbb7bdcb7018f8ab8b280f15a
parentd0607d7694cd51bf051e842e6a0481975f08accd (diff)
Adapt LLVM ORC interface change in r332541.
PiperOrigin-RevId: 196978634
-rw-r--r--tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc b/tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc
index 62c97e5641..8d8c5e4c44 100644
--- a/tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc
+++ b/tensorflow/compiler/xla/service/cpu/simple_orc_jit.cc
@@ -99,6 +99,7 @@ SimpleOrcJIT::SimpleOrcJIT(const llvm::TargetOptions& target_options,
disassembler_(*target_machine_),
data_layout_(target_machine_->createDataLayout()),
symbol_resolver_(llvm::orc::createLegacyLookupResolver(
+ execution_session_,
[this](const std::string& name) -> llvm::JITSymbol {
return this->ResolveRuntimeSymbol(name);
},