llvm/lib/MC
Rafael Espindola 6c56decee0 Generalize emitAbsoluteSymbolDiff.
This makes emitAbsoluteSymbolDiff always succeed and moves logic from the asm
printer to it.

The object one now also works on ELF. If two symbols are in the same fragment,
we will never move them apart.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239552 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-11 18:58:08 +00:00
..
MCDisassembler Replace string GNU Triples with llvm::Triple in create*MCRelocationInfo(). NFC. 2015-06-10 10:54:40 +00:00
MCParser Removing spurious semi colons; NFC. 2015-06-09 12:03:46 +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 Refactor padding writing into a helper function. 2015-06-05 18:21:00 +00:00
LLVMBuild.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MachObjectWriter.cpp Remove includes of MCMachOSymbolFlags.h after it was deleted 2015-06-08 17:25:57 +00:00
Makefile Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MCAsmBackend.cpp [MC] Allow backends to decide relaxation for unresolved fixups. 2015-05-30 18:42:22 +00:00
MCAsmInfo.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCAsmInfoCOFF.cpp [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
MCAsmInfoDarwin.cpp [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
MCAsmInfoELF.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MCAsmStreamer.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCAssembler.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCCodeEmitter.cpp MC: Move target specific fixup info descriptors to TargetAsmBackend instead of 2010-12-16 03:20:06 +00:00
MCCodeGenInfo.cpp MC: MCCodeGenInfo naming update. NFC. 2015-05-15 19:13:31 +00:00
MCContext.cpp Allocate space for MCSymbol::Name only if required. 2015-06-09 18:36: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 [MC] Common symbols weren't being checked for redeclaration which allowed an assembly file to generate an assertion in setCommon(): !isCommon(). This change allows redeclaration as long as the size and alignment match exactly, otherwise report a fatal error. 2015-06-06 20:12:40 +00:00
MCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCInst.cpp Fixup. 2015-02-05 01:13:47 +00:00
MCInstPrinter.cpp [llvm] Parameterizing the output stream for dumpbytes and outputting directly to stream. 2015-05-28 18:39:50 +00:00
MCInstrAnalysis.cpp MC: Disassembled CFG reconstruction. 2013-05-24 01:07:04 +00:00
MCInstrDesc.cpp Use std::bitset for SubtargetFeatures. 2015-05-26 10:47:10 +00:00
MCLabel.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCLinkerOptimizationHint.cpp MC: Tidy up LOH naming a bit. NFC. 2015-06-01 23:55:06 +00:00
MCMachObjectTargetWriter.cpp MC: Remove obsolete MachO UseAggressiveSymbolFolding. 2015-06-04 20:27:42 +00:00
MCMachOStreamer.cpp Remove includes of MCMachOSymbolFlags.h after it was deleted 2015-06-08 17:25:57 +00:00
MCNullStreamer.cpp Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MCObjectFileInfo.cpp MC: Clean up naming in MCObjectFileInfo.h. 2015-06-04 23:35:03 +00:00
MCObjectStreamer.cpp Generalize emitAbsoluteSymbolDiff. 2015-06-11 18:58:08 +00:00
MCObjectWriter.cpp MC: Clean up naming in MCObjectWriter. NFC. 2015-06-04 22:24:41 +00:00
MCRegisterInfo.cpp Make SubRegIndex size mandatory, following r183020. 2013-05-31 23:45:26 +00:00
MCSection.cpp Store a bit in MCSection saying if it was registered with MCAssembler. 2015-06-01 01:30:01 +00:00
MCSectionCOFF.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCSectionELF.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MCSectionMachO.cpp Implement unique sections with an unique ID. 2015-04-04 18:02:01 +00:00
MCStreamer.cpp Generalize emitAbsoluteSymbolDiff. 2015-06-11 18:58:08 +00:00
MCSubtargetInfo.cpp Replace string GNU Triples with llvm::Triple in MCSubtargetInfo and create*MCSubtargetInfo(). NFC. 2015-06-10 12:11:26 +00:00
MCSymbol.cpp Fix warning of comparing different enums. NFC 2015-06-09 23:33:35 +00:00
MCSymbolELF.cpp Bring back r239006 with a fix. 2015-06-04 05:59:23 +00:00
MCSymbolizer.cpp Move MCSymbolizer's constructor into header. It's trivial - there's no need for 2014-03-27 02:42:52 +00:00
MCTargetOptions.cpp Migrate ABIName to MCTargetOptions so that it can be shared between 2015-01-14 00:50:31 +00:00
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 Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
StringTableBuilder.cpp MachObjectWriter: optimize the string table for common suffices 2014-10-06 17:05:19 +00:00
SubtargetFeature.cpp [ARM] Add knowledge of FPU subtarget features to TargetParser 2015-06-05 13:29:24 +00:00
WinCOFFObjectWriter.cpp Move all of the MCSymbol COFF flags logic in to MCSymbolCOFF. 2015-06-08 17:17:19 +00:00
WinCOFFStreamer.cpp [WinEH] Emit .safeseh directives for all 32-bit exception handlers 2015-06-10 01:02:30 +00:00
YAML.cpp Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00