OSDN Git Service

[ORC] Add a method to JITTargetMachineBuilder to get the default data layout
authorLang Hames <lhames@gmail.com>
Mon, 1 Oct 2018 00:59:26 +0000 (00:59 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 1 Oct 2018 00:59:26 +0000 (00:59 +0000)
commit4e8d0ef849e2505632ff53865ab9ab1956e23bf6
tree908af2efbb9e794e7199e9d9866d1c7704dcc813
parent6b41faf1c9ec4ab8b8a2c7ddd356aa207371e965
[ORC] Add a method to JITTargetMachineBuilder to get the default data layout
for the target machine.

This simplifies usage during setup of concurrent JIT stacks where the client
needs a DataLayout, but not a TargetMachine (TargetMachines are created on
the fly by the compile threads later).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343429 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
tools/lli/lli.cpp