llvm-6502/lib/Target/Mips/MCTargetDesc
Rafael Espindola 7521964d28 Move alignment from MCSectionData to MCSection.
This starts merging MCSection and MCSectionData.

There are a few issues with the current split between MCSection and
MCSectionData.

* It optimizes the the not as important case. We want the production
of .o files to be really fast, but the split puts the information used
for .o emission in a separate data structure.

* The ELF/COFF/MachO hierarchy is not represented in MCSectionData,
leading to some ad-hoc ways to represent the various flags.

* It makes it harder to remember where each item is.

The attached patch starts merging the two by moving the alignment from
MCSectionData to MCSection.

Most of the patch is actually just dropping 'const', since
MCSectionData is mutable, but MCSection was not.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237936 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-21 19:20:38 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
MipsABIFlagsSection.cpp [MIPS] Move MIPS ABI flags structure constants to the separate header 2015-05-07 14:57:04 +00:00
MipsABIFlagsSection.h Remove MCAssembler.h include from MCStreamer.h and fix users of MCStreamer.h 2015-05-15 22:19:42 +00:00
MipsABIInfo.cpp Revert r237789 - [mips] The naming convention for private labels is ABI dependant. 2015-05-20 14:18:59 +00:00
MipsABIInfo.h Revert r237789 - [mips] The naming convention for private labels is ABI dependant. 2015-05-20 14:18:59 +00:00
MipsAsmBackend.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
MipsAsmBackend.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
MipsBaseInfo.h
MipsELFObjectWriter.cpp Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
MipsELFStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MipsELFStreamer.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MipsFixupKinds.h Recommit r232027 with PR22883 fixed: Add infrastructure for support of multiple memory constraints. 2015-03-13 12:45:09 +00:00
MipsMCAsmInfo.cpp Revert r237789 - [mips] The naming convention for private labels is ABI dependant. 2015-05-20 14:18:59 +00:00
MipsMCAsmInfo.h Revert r237789 - [mips] The naming convention for private labels is ABI dependant. 2015-05-20 14:18:59 +00:00
MipsMCCodeEmitter.cpp Remove 3 includes from MCInstrDesc.h and explicitly include them where needed 2015-05-15 21:58:42 +00:00
MipsMCCodeEmitter.h MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MipsMCExpr.cpp
MipsMCExpr.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MipsMCNaCl.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
MipsMCTargetDesc.cpp MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
MipsMCTargetDesc.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
MipsNaClELFStreamer.cpp MC: Modernize MCOperand API naming. NFC. 2015-05-13 18:37:00 +00:00
MipsOptionRecord.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MipsTargetStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00