llvm-6502/lib/MC
Bill Wendling c3cee57f7d Generate compact unwind encoding from CFI directives.
We used to generate the compact unwind encoding from the machine
instructions. However, this had the problem that if the user used `-save-temps'
or compiled their hand-written `.s' file (with CFI directives), we wouldn't
generate the compact unwind encoding.

Move the algorithm that generates the compact unwind encoding into the
MCAsmBackend. This way we can generate the encoding whether the code is from a
`.ll' or `.s' file.

<rdar://problem/13623355>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190290 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-09 02:37:14 +00:00
..
MCDisassembler Use pointers to the MCAsmInfo and MCRegInfo. 2013-06-18 07:20:20 +00:00
MCParser Improve handling of .file, .include and .incbin directives to 2013-09-05 19:14:26 +00:00
CMakeLists.txt MC CFG: Add YAML MCModule representation to enable MC CFG testing. 2013-08-21 07:29:02 +00:00
ELFObjectWriter.cpp Put ELF COMDAT relocations into the relevant COMDAT group. 2013-07-10 20:58:17 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Add names for mach-o permissions bits and use the symbol names in place of magic numbers 2013-09-04 23:53:44 +00:00
Makefile
MCAsmBackend.cpp Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). 2013-07-15 04:27:47 +00:00
MCAsmInfo.cpp Remove support for the .debug_inlined section. No known software 2013-08-28 04:04:28 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00
MCAssembler.cpp Move assert above first use of variable that we'd be asserting on. 2013-08-07 18:51:09 +00:00
MCAtom.cpp MC CFG: Remap enough for data too, analoguous to r188873. 2013-08-21 19:40:28 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
MCDisassembler.cpp Follow up of the introduction of MCSymbolizer. 2013-05-24 22:51:52 +00:00
MCDwarf.cpp Fix comments to reflect reality. 2013-09-05 00:54:52 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp Cleanup relocation sorting for ELF. 2013-05-15 18:22:01 +00:00
MCELFStreamer.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00
MCExpr.cpp [PowerPC] Revert r185476 and fix up TLS variant kinds 2013-07-09 16:41:09 +00:00
MCExternalSymbolizer.cpp Follow up of the introduction of MCSymbolizer. 2013-05-24 22:51:52 +00:00
MCFunction.cpp Style cleanup following David's review for r188876. 2013-08-21 19:40:25 +00:00
MCInst.cpp
MCInstPrinter.cpp Pacify GCC, which worries about falling off the end of the switch. 2013-08-02 09:37:20 +00:00
MCInstrAnalysis.cpp MC: Disassembled CFG reconstruction. 2013-05-24 01:07:04 +00:00
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
MCModule.cpp MC CFG: Split MCBasicBlocks to mirror atom splitting. 2013-08-21 07:28:24 +00:00
MCModuleYAML.cpp MC CFG: Add YAML MCModule representation to enable MC CFG testing. 2013-08-21 07:29:02 +00:00
MCNullStreamer.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00
MCObjectDisassembler.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
MCObjectFileInfo.cpp [-cxx-abi microsoft] Stick zero initialized symbols into the .bss section for COFF 2013-08-13 01:23:53 +00:00
MCObjectStreamer.cpp Add 'const' qualifiers to static const char* variables. 2013-07-16 01:17:10 +00:00
MCObjectSymbolizer.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00
MCRegisterInfo.cpp Make SubRegIndex size mandatory, following r183020. 2013-05-31 23:45:26 +00:00
MCRelocationInfo.cpp Follow up of the introduction of MCSymbolizer. 2013-05-24 22:51:52 +00:00
MCSection.cpp
MCSectionCOFF.cpp MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolizer.cpp Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
MCValue.cpp
MCWin64EH.cpp Fix wrong code offset for unwind code SET_FPREG. 2013-08-27 04:16:16 +00:00
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp MC: Support larger COFF string tables 2013-07-29 12:30:12 +00:00
WinCOFFStreamer.cpp [CodeGen] prevent abnormal on invalid attributes 2013-08-09 01:52:03 +00:00