llvm-6502/lib/MC
Rafael Espindola 9f299abc05 Omit unused section symbols from the symbol table.
Section symbols exist as an optimization: instead of having multiple relocations
point to different symbols, many of them can point to a single section symbol.

When that optimization is unused, a section symbol is also unused and adds no
extra information to the object file.

This saves a bit of space on the object files and makes the output of
llvm-objdump -t easier to read and consequently some tests get quite a bit
simpler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239045 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 15:33:30 +00:00
..
MCDisassembler MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
MCParser Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
CMakeLists.txt Merge MCELF.h into MCSymbolELF.h. 2015-06-02 20:38:46 +00:00
ConstantPools.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
ELFObjectWriter.cpp Omit unused section symbols from the symbol table. 2015-06-04 15:33:30 +00:00
LLVMBuild.txt
MachObjectWriter.cpp MC: Tidy up LOH naming a bit. NFC. 2015-06-01 23:55:06 +00:00
Makefile
MCAsmBackend.cpp [MC] Allow backends to decide relaxation for unresolved fixups. 2015-05-30 18:42:22 +00:00
MCAsmInfo.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
MCAssembler.cpp The fragment implies the section, don't store both. 2015-06-01 14:34:40 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Clarify when we can avoid creating names for temp symbols. 2015-06-02 22:52:13 +00:00
MCDwarf.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
MCELFObjectTargetWriter.cpp Pass a MCSymbol to needsRelocateWithSymbol. 2015-05-29 18:26:09 +00:00
MCELFStreamer.cpp Remove MCELFSymbolFlags.h. It is now internal to MCSymbolELF. 2015-06-04 00:47:43 +00:00
MCExpr.cpp Remember if a weakref of a symbol has been used. 2015-06-03 21:52:06 +00:00
MCInst.cpp
MCInstPrinter.cpp [llvm] Parameterizing the output stream for dumpbytes and outputting directly to stream. 2015-05-28 18:39:50 +00:00
MCInstrAnalysis.cpp
MCInstrDesc.cpp Use std::bitset for SubtargetFeatures. 2015-05-26 10:47:10 +00:00
MCLabel.cpp
MCLinkerOptimizationHint.cpp MC: Tidy up LOH naming a bit. NFC. 2015-06-01 23:55:06 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
MCNullStreamer.cpp
MCObjectFileInfo.cpp [mips] Make TTypeEncoding indirect to allow .eh_frame to be read-only. 2015-06-02 20:32:50 +00:00
MCObjectStreamer.cpp Rename HasData to IsRegistered. 2015-06-01 01:52:18 +00:00
MCObjectWriter.cpp Remove getData. 2015-05-29 21:45:01 +00:00
MCRegisterInfo.cpp
MCSection.cpp Store a bit in MCSection saying if it was registered with MCAssembler. 2015-06-01 01:30:01 +00:00
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
MCSubtargetInfo.cpp Use std::bitset for SubtargetFeatures. 2015-05-26 10:47:10 +00:00
MCSymbol.cpp The fragment implies the section, don't store both. 2015-06-01 14:34:40 +00:00
MCSymbolELF.cpp Bring back r239006 with a fix. 2015-06-04 05:59:23 +00:00
MCSymbolizer.cpp
MCTargetOptions.cpp
MCValue.cpp Use operator<< instead of print in a few more places. 2015-05-27 13:05:42 +00:00
MCWin64EH.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
MCWinEH.cpp
StringTableBuilder.cpp
SubtargetFeature.cpp [MC] Replace custom string join function with the one from StringExtras. 2015-05-28 11:45:32 +00:00
WinCOFFObjectWriter.cpp Rename HasData to IsRegistered. 2015-06-01 01:52:18 +00:00
WinCOFFStreamer.cpp Create a MCSymbolELF. 2015-06-02 00:25:12 +00:00
YAML.cpp