llvm-6502/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 Silence gcc 4.9.1 warning 'xyz' is used uninitialized in this function. 2014-12-12 11:07:51 +00:00
Unix [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
Windows Report lli remote IO errors consistently 2014-01-24 17:18:52 +00:00
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 Fix lli after the DebugInfo move. 2015-01-30 18:42:03 +00:00
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 [C++] Use 'nullptr'. Tools edition. 2014-04-25 04:24:47 +00:00
RemoteTarget.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RemoteTargetExternal.cpp [Modules] Make Support/Debug.h modular. This requires it to not change 2014-04-21 22:55:11 +00:00
RemoteTargetExternal.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
RemoteTargetMessage.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RPCChannel.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00