1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/lib/Target/AArch64/MCTargetDesc
Rafael Espindola dda3f1317e 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.

llvm-svn: 237936
2015-05-21 19:20:38 +00:00
..
AArch64AddressingModes.h MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line with countTrailingZeros 2015-02-12 15:35:40 +00:00
AArch64AsmBackend.cpp [mc] Clean up emission of byte sequences 2015-04-17 11:12:43 +00:00
AArch64ELFObjectWriter.cpp Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
AArch64ELFStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
AArch64ELFStreamer.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
AArch64FixupKinds.h
AArch64MachObjectWriter.cpp MC: Remove most remaining uses of MCSymbolData::getSymbol(), NFC 2015-05-20 20:18:16 +00:00
AArch64MCAsmInfo.cpp MC: Clean up method names in MCContext. 2015-05-18 18:43:14 +00:00
AArch64MCAsmInfo.h Fix a problem where the AArch64 ELF assembler was failing with 2015-01-26 06:32:17 +00:00
AArch64MCCodeEmitter.cpp MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
AArch64MCExpr.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
AArch64MCExpr.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
AArch64MCTargetDesc.cpp MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
AArch64MCTargetDesc.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
AArch64TargetStreamer.cpp
CMakeLists.txt
LLVMBuild.txt
Makefile