llvm-6502/include/llvm/MC
Rafael Espindola 8e0f67dcec Make the llvm mangler depend only on DataLayout.
Before this patch any program that wanted to know the final symbol name of a
GlobalValue had to link with Target.

This patch implements a compromise solution where the mangler uses DataLayout.
This way, any tool that already links with Target (llc, clang) gets the exact
behavior as before and new IR files can be mangled without linking with Target.

With this patch the mangler is constructed with just a DataLayout and DataLayout
is extended to include the information the Mangler needs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198438 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-03 19:21:54 +00:00
..
MCParser Cache AllowAtInIdentifier as class variable in AsmLexer 2013-12-06 23:05:33 +00:00
MachineLocation.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
MCAsmBackend.h Use the appropriate return type for the compact unwind encoding. 2013-09-11 21:47:57 +00:00
MCAsmInfo.h Make the llvm mangler depend only on DataLayout. 2014-01-03 19:21:54 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MCAsmLayout.h
MCAssembler.h Move the STT_FILE symbols out of the normal symbol table processing for 2013-10-29 01:06:17 +00:00
MCAtom.h [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
MCCodeEmitter.h
MCCodeGenInfo.h Teach ISel not to optimize 'optnone' functions (revised). 2013-11-22 19:11:24 +00:00
MCContext.h Fix a crash that occurs when PWD is invalid. 2013-12-10 04:39:09 +00:00
MCDirectives.h
MCDisassembler.h Export MCDisassembler's SubtargetInfo, to allow architecture-aware disassembly 2013-11-08 16:07:43 +00:00
MCDwarf.h Implements parsing and emitting of .cfi_window_save in MC. 2013-09-26 14:49:40 +00:00
MCELF.h
MCELFObjectWriter.h
MCELFStreamer.h Move .ident handling to MCStreamer. 2013-10-16 01:05:45 +00:00
MCELFSymbolFlags.h [mc] Fix ELF st_other flag. 2013-12-05 00:34:11 +00:00
MCExpr.h Add support for parsing ARM symbol variants on ELF targets 2013-12-04 22:43:20 +00:00
MCExternalSymbolizer.h
MCFixedLenDisassembler.h
MCFixup.h
MCFixupKindInfo.h
MCFunction.h
MCInst.h
MCInstBuilder.h
MCInstPrinter.h
MCInstrAnalysis.h
MCInstrDesc.h Somehow this important part of the patch, where I actually check the Mask, 2013-09-12 14:23:19 +00:00
MCInstrInfo.h
MCInstrItineraries.h
MCLabel.h
MCMachObjectWriter.h
MCMachOSymbolFlags.h Fix ODR violation. 2013-10-25 03:29:42 +00:00
MCModule.h
MCModuleYAML.h
MCObjectDisassembler.h
MCObjectFileInfo.h DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers 2013-12-13 21:33:40 +00:00
MCObjectStreamer.h Add a MCTargetStreamer interface. 2013-10-08 13:08:17 +00:00
MCObjectSymbolizer.h
MCObjectWriter.h
MCRegisterInfo.h
MCRelocationInfo.h
MCSchedule.h Machine model comments. Explain a ProcessorUnit's BufferSize. 2013-12-05 17:55:53 +00:00
MCSection.h
MCSectionCOFF.h Support multiple COFF sections with the same name but different COMDAT. 2013-11-19 19:52:52 +00:00
MCSectionELF.h DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers 2013-12-13 21:33:40 +00:00
MCSectionMachO.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
MCStreamer.h [COFF] Add support for the .secidx directive 2013-12-20 18:15:00 +00:00
MCSubtargetInfo.h Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcessorInfo right after detecting them. Instead add a new function that only updates the scheduling model and call that. 2013-09-18 05:54:09 +00:00
MCSymbol.h Correct word hyphenations 2013-12-05 05:44:44 +00:00
MCSymbolizer.h
MCTargetAsmParser.h Add a finishParse() callback to the targer asm parser 2013-12-19 18:08:08 +00:00
MCValue.h
MCWin64EH.h
MCWinCOFFObjectWriter.h [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
SectionKind.h
SubtargetFeature.h MC: Don't assume incoming StringRef's are null terminated. 2013-10-13 22:09:26 +00:00