llvm-6502/examples
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
..
BrainF BrainF.cpp: Update CreateCall() according to r237624. 2015-05-19 06:50:19 +00:00
ExceptionDemo Fix up Exception demo from recent opaque pointer type changes to GEP 2015-04-22 04:24:43 +00:00
Fibonacci Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
HowToUseJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
Kaleidoscope Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
ModuleMaker
OCaml-Kaleidoscope
ParallelJIT llvm/examples: Add missing include according to r230907. 2015-03-02 01:04:34 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile