llvm-6502/lib/MC
Rafael Espindola b03e2929d3 doesSectionRequireSymbols is meaningless on ELF, remove.
This is a nop. doesSectionRequireSymbols is only used from
isSymbolLinkerVisible. isSymbolLinkerVisible only use from ELF was in

if (!Asm.isSymbolLinkerVisible(Symbol) && !Symbol.isUndefined())
  return false;

if (Symbol.isTemporary())
  return false;

If the symbol is a temporary this code returns false and it is irrelevant if
we take the first if or not. If the symbol is not a temporary,
Asm.isSymbolLinkerVisible returns true without ever calling
doesSectionRequireSymbols.

This was an horrible leftover from when support for ELF was first added.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200894 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-06 00:54:53 +00:00
..
MCDisassembler For the 'C' disassembler API, add a new ReferenceType for the 2014-01-06 22:08:08 +00:00
MCParser Use the default values. 2014-02-04 18:34:04 +00:00
CMakeLists.txt
ELFObjectWriter.cpp doesSectionRequireSymbols is meaningless on ELF, remove. 2014-02-06 00:54:53 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp Every target uses .align. Simplify. 2014-02-04 18:39:51 +00:00
MCAsmInfoCOFF.cpp Make the llvm mangler depend only on DataLayout. 2014-01-03 19:21:54 +00:00
MCAsmInfoDarwin.cpp Make the llvm mangler depend only on DataLayout. 2014-01-03 19:21:54 +00:00
MCAsmInfoELF.cpp Refactor the setting of PrivateGlobalPrefix. 2013-12-02 23:39:26 +00:00
MCAsmStreamer.cpp Remove support for not using .loc directives. 2014-02-05 18:00:21 +00:00
MCAssembler.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCAtom.cpp [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCDisassembler.cpp
MCDwarf.cpp MC: Add support for .cfi_startproc simple 2014-01-27 17:20:25 +00:00
MCELF.cpp [mc] Fix ELF st_other flag. 2013-12-05 00:34:11 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Use the default values. 2014-02-04 18:34:04 +00:00
MCExpr.cpp ARM: suuport .tlsdescseq directive 2014-01-30 04:02:47 +00:00
MCExternalSymbolizer.cpp Tweak the MCExternalSymbolizer to not use the SymbolLookUp() call back 2014-01-21 00:23:17 +00:00
MCFunction.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCModule.cpp
MCModuleYAML.cpp
MCNullStreamer.cpp Change MCStreamer EmitInstruction interface to take subtarget info 2014-01-28 23:12:42 +00:00
MCObjectDisassembler.cpp Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
MCObjectFileInfo.cpp Reland r200340 - 'Add line table debug info to COFF files when using a win32 triple' 2014-01-30 01:39:17 +00:00
MCObjectStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCObjectSymbolizer.cpp Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCRegisterInfo.cpp
MCRelocationInfo.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCSection.cpp
MCSectionCOFF.cpp MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
MCSectionELF.cpp Remove AllowQuotesInName and friends from MCAsmInfo. 2013-11-13 14:01:59 +00:00
MCSectionMachO.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
MCStreamer.cpp Remove another hasRawTextSupport. 2014-01-31 23:10:26 +00:00
MCSubtargetInfo.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
MCSymbol.cpp Don't mangle \n and " 2013-11-14 06:05:49 +00:00
MCSymbolizer.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
WinCOFFObjectWriter.cpp Fix PR18381 - print a minimal diagnostic rather than assert on unresolved .secidx target 2014-01-30 21:13:05 +00:00
WinCOFFStreamer.cpp Use the default values. 2014-02-04 18:34:04 +00:00