llvm-6502/include/llvm
Rafael Espindola 3f0a9af13b Fix resetting the DataLayout in a Module.
No tool does this currently, but as everything else in a module we should be
able to change its DataLayout.

Most of the fix is in DataLayout to make sure it can be reset properly.

The test uses Module::setDataLayout since the fact that we mutate a DataLayout
is an implementation detail. The module could hold a OwningPtr<DataLayout> and
the DataLayout itself could be immutable.

Thanks to Philip Reames for pushing me in the right direction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202198 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 22:23:04 +00:00
..
ADT Add AArch64 big endian Target (aarch64_be) 2014-02-24 11:34:50 +00:00
Analysis Make some DataLayout pointers const. 2014-02-24 23:12:18 +00:00
AsmParser
Bitcode
CodeGen Add missing const 2014-02-24 21:01:18 +00:00
Config Unconditionally include msan_interface.h when building with MSan. 2014-02-20 11:37:03 +00:00
DebugInfo llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
ExecutionEngine Rename some member variables from TD to DL. 2014-02-18 15:33:12 +00:00
IR Fix resetting the DataLayout in a Module. 2014-02-25 22:23:04 +00:00
IRReader
LineEditor
LTO
MC Move get[S|U]LEB128Size() to LEB128.h. 2014-02-22 14:00:39 +00:00
Object Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
Option
Support Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
TableGen
Target Make DisableIntegratedAS a TargetOption. 2014-02-21 03:13:54 +00:00
Transforms [CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen. 2014-02-22 00:07:45 +00:00
AutoUpgrade.h
CMakeLists.txt
DebugInfo.h
DIBuilder.h Debug info: Support variadic functions. 2014-02-25 19:57:42 +00:00
GVMaterializer.h
InitializePasses.h Make DataLayout a plain object, not a pass. 2014-02-25 17:30:31 +00:00
InstVisitor.h
LinkAllIR.h
LinkAllPasses.h
Linker.h Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
Pass.h
PassAnalysisSupport.h
PassManager.h
PassRegistry.h
PassSupport.h