llvm-6502/lib/MC
Rafael Espindola 9936b80df5 Compute the ELF SectionKind from the flags.
Any code creating an MCSectionELF knows ELF and already provides the flags.

SectionKind is an abstraction used by common code that uses a plain
MCSection.

Use the flags to compute the SectionKind. This removes a lot of
guessing and boilerplate from the MCSectionELF construction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227476 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-29 17:33:21 +00:00
..
MCDisassembler
MCParser Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Add r224985 back with fixes. 2015-01-19 21:11:14 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp Add r224985 back with fixes. 2015-01-19 21:11:14 +00:00
MCAsmInfoELF.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCAsmStreamer.cpp
MCAssembler.cpp Add r224985 back with fixes. 2015-01-19 21:11:14 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCDwarf.cpp
MCELF.cpp Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCExpr.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCObjectStreamer.cpp
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp Compute the ELF SectionKind from the flags. 2015-01-29 17:33:21 +00:00
MCSectionMachO.cpp
MCStreamer.cpp
MCSubtargetInfo.cpp Store the passed in CPU name string so that it can be accessed later. 2015-01-26 17:33:30 +00:00
MCSymbol.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp
MCValue.cpp
MCWin64EH.cpp
MCWinEH.cpp
StringTableBuilder.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp ARM: fail less catastrophically on invalid Windows input 2015-01-22 04:03:32 +00:00
WinCOFFStreamer.cpp
YAML.cpp