llvm/tools/lli
Mehdi Amini 15e1e7f179 Remove access to the DataLayout in the TargetMachine
Summary:
Replace getDataLayout() with a createDataLayout() method to make
explicit that it is intended to create a DataLayout only and not
accessing it for other purpose.

This change is the last of a series of commits dedicated to have a
single DataLayout during compilation by using always the one owned
by the module.

Reviewers: echristo

Subscribers: jholewinski, llvm-commits, rafael, yaron.keren

Differential Revision: http://reviews.llvm.org/D11103

(cherry picked from commit 5609fc56bca971e5a7efeaa6ca4676638eaec5ea)

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243114 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-24 16:04:22 +00:00
..
ChildTarget
Unix
Windows
CMakeLists.txt add missing dependency on Target lib for tools 2015-06-03 19:07:51 +00:00
lli.cpp Simplify a few uses of remove_filename by using parent_path instead. 2015-07-15 21:24:07 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile
OrcLazyJIT.cpp Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
OrcLazyJIT.h Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
RemoteMemoryManager.cpp Purge unused includes throughout libSupport. 2015-03-23 18:07:13 +00:00
RemoteMemoryManager.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
RemoteTarget.cpp
RemoteTarget.h
RemoteTargetExternal.cpp
RemoteTargetExternal.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
RemoteTargetMessage.h
RPCChannel.h