llvm-6502/lib/ExecutionEngine/Orc
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
..
CMakeLists.txt Fix line endings (NFC) 2015-06-22 21:37:34 +00:00
ExecutionUtils.cpp [Orc] Add support classes for inspecting and running C++ static ctor/dtors, and 2015-04-02 04:34:45 +00:00
IndirectionUtils.cpp [Orc] Fix a bug in the CompileOnDemand layer where stub decls were not cloned 2015-06-12 21:31:15 +00:00
LLVMBuild.txt Orc/LLVMBuild.txt: Prune redundant "Target" in libdeps. 2015-01-25 11:41:41 +00:00
Makefile
NullResolver.cpp Fix line endings (NFC) 2015-06-22 21:37:34 +00:00
OrcMCJITReplacement.cpp [ExecutionEngine] ArrayRefize argument passing. 2015-06-13 19:50:29 +00:00
OrcMCJITReplacement.h Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
OrcTargetSupport.cpp [Orc] Use the 64-bit versions of FXSAVE/FXRSTOR for JIT reentry. 2015-04-20 18:25:44 +00:00