[PATCH] D11103: Remove access to the DataLayout in the TargetMachine
Mehdi AMINI
mehdi.amini at apple.com
Fri Jul 10 11:09:33 PDT 2015
joker.eph created this revision.
joker.eph added a reviewer: echristo.
joker.eph added subscribers: yaron.keren, rafael, llvm-commits, jholewinski.
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.
http://reviews.llvm.org/D11103
Files:
include/llvm/ExecutionEngine/ExecutionEngine.h
include/llvm/Target/TargetMachine.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
lib/LTO/LTOCodeGenerator.cpp
lib/LTO/LTOModule.cpp
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/TargetMachineC.cpp
lib/Target/X86/X86ISelLowering.cpp
tools/llc/llc.cpp
tools/lli/OrcLazyJIT.cpp
tools/lli/OrcLazyJIT.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11103.29459.patch
Type: text/x-patch
Size: 14919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150710/35954d05/attachment.bin>
More information about the llvm-commits
mailing list