llvm-6502/lib/CodeGen/AsmPrinter
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
..
AddressPool.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
AddressPool.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
ARMException.cpp [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr. 2015-04-24 19:11:51 +00:00
AsmPrinter.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
AsmPrinterDwarf.cpp Revert "Add bool to DebugLocDwarfExpression to control emitting comments." 2015-05-20 22:37:48 +00:00
AsmPrinterHandler.h Print jump tables before exception tables. 2015-03-09 18:29:12 +00:00
AsmPrinterInlineAsm.cpp Stop resetting SanitizeAddress in TargetMachine::resetTargetOptions. NFC. 2015-05-15 00:20:44 +00:00
ByteStreamer.h Don't generate comments in the DebugLocStream unless required. NFC. 2015-05-20 22:51:27 +00:00
CMakeLists.txt
DbgValueHistoryCalculator.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DbgValueHistoryCalculator.h IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DebugLocEntry.h IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DebugLocStream.h Don't generate comments in the DebugLocStream unless required. NFC. 2015-05-20 22:51:27 +00:00
DIE.cpp [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr. 2015-04-24 19:11:51 +00:00
DIEHash.cpp AsmPrinter: Create a unified .debug_loc stream 2015-04-17 21:34:47 +00:00
DIEHash.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DwarfAccelTable.cpp [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr. 2015-04-24 19:11:51 +00:00
DwarfAccelTable.h Store an optional section start label in MCSection. 2015-03-10 16:58:10 +00:00
DwarfCFIException.cpp [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr. 2015-04-24 19:11:51 +00:00
DwarfCompileUnit.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DwarfCompileUnit.h IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DwarfDebug.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfDebug.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfException.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
DwarfExpression.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DwarfExpression.h Revert "Add bool to DebugLocDwarfExpression to control emitting comments." 2015-05-20 22:37:48 +00:00
DwarfFile.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfFile.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfStringPool.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfStringPool.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfUnit.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
DwarfUnit.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
EHStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
EHStreamer.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ErlangGCPrinter.cpp [AsmPrinter] Make AsmPrinter's OutStreamer member a unique_ptr. 2015-04-24 19:11:51 +00:00
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
Win64Exception.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
Win64Exception.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
WinCodeViewLineTables.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
WinCodeViewLineTables.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00