[BuildingAJIT] Use the remote target triple to construct the TargetMachine in
authorLang Hames <lhames@gmail.com>
Wed, 19 Oct 2016 22:41:03 +0000 (22:41 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 19 Oct 2016 22:41:03 +0000 (22:41 +0000)
commit1009b0b30fa791ee686d18498cdf7a7dde0e5c93
tree76ec6a6c236816b65f2dada21e78fa7da2c26669
parentdb46b7d217ed4462a4a02d0111e25593287dfcf1
[BuildingAJIT] Use the remote target triple to construct the TargetMachine in
Chapter 5.

Chapter 5 demonstrates remote JITing: code is executed on the remote, not the
machine running the REPL, so it's the remote's triple (and TargetMachine) that
we need.

llvm-svn: 284657
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h