llvm-6502/lib/MC
David Majnemer 38d8be1ad8 CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF
COFF lacks a feature that other object file formats support: mergeable
sections.

To work around this, MSVC sticks constant pool entries in special COMDAT
sections so that each constant is in it's own section.  This permits
unused constants to be dropped and it also allows duplicate constants in
different translation units to get merged together.

This fixes PR20262.

Differential Revision: http://reviews.llvm.org/D4482

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213006 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-14 22:57:27 +00:00
..
MCAnalysis Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
MCDisassembler Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
MCParser This only needs a StringRef. 2014-07-06 14:17:29 +00:00
CMakeLists.txt Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
ConstantPools.cpp
ELFObjectWriter.cpp Mips.abiflags is a new implicitly generated section that will be present on all new modules. The section contains a versioned data structure which represents essentially information to allow a program loader to determine the requirements of the application. This patch implements mips.abiflags section and provides test cases for it. 2014-07-08 08:59:22 +00:00
LLVMBuild.txt Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
MachObjectWriter.cpp
Makefile Fix configure+make build. 2014-07-02 20:05:48 +00:00
MCAsmBackend.cpp
MCAsmInfo.cpp Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp MC: make DWARF and Windows unwinding handling more similar 2014-07-13 19:03:36 +00:00
MCAssembler.cpp MC: make MCSymbolData::dump work on const objects 2014-07-05 00:39:52 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF 2014-07-14 22:57:27 +00:00
MCDisassembler.cpp
MCDwarf.cpp MC: make DWARF and Windows unwinding handling more similar 2014-07-13 19:03:36 +00:00
MCELF.cpp [MC] Constify MCELF::GetVisibility and MCELF::getOther 2014-07-11 17:34:44 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCExpr.cpp
MCExternalSymbolizer.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCNullStreamer.cpp Merge the used symbol scanning of MCObjectStreamer and RecordStreamer. 2014-06-25 18:37:33 +00:00
MCObjectFileInfo.cpp Re-apply r211399, "Generate native unwind info on Win64" with a fix to ignore SEH pseudo ops in X86 JIT emitter. 2014-06-25 12:41:52 +00:00
MCObjectStreamer.cpp Merge the used symbol scanning of MCObjectStreamer and RecordStreamer. 2014-06-25 18:37:33 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCRelocationInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp MC: make DWARF and Windows unwinding handling more similar 2014-07-13 19:03:36 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp Move -dwarf-version to an MC level command line option so it's 2014-06-19 06:22:08 +00:00
MCValue.cpp
MCWin64EH.cpp MC: make MCWin64EHInstruction a POD-like struct 2014-07-13 19:03:45 +00:00
StringTableBuilder.cpp Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp MC: Let non-temporary COFF aliases be in symtab 2014-07-13 04:31:19 +00:00
WinCOFFStreamer.cpp MC: rename EmitWin64EH routines 2014-06-29 01:52:01 +00:00
YAML.cpp Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00