Fix lli with OrcLazyJIT: the default DataLayout was used.
authorMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Jul 2015 17:29:33 +0000 (17:29 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Jul 2015 17:29:33 +0000 (17:29 +0000)
commit778e06475bb6f1c7411e0a0cd7aaa67d44e9f8a6
treefa18d0c3cc79d7b745f3991ba19f7ededdd5786b
parentece90bb19e8f13f24158cb096bed0e7161e294a6
Fix lli with OrcLazyJIT: the default DataLayout was used.

Set the correct one using the TargetMachine instead.

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243664 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lli/OrcLazyJIT.cpp