llvm-project/llvm/lib/ExecutionEngine/Orc
Mehdi Amini 26d481311a 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>
llvm-svn: 243114
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