llvm-6502/include/llvm/MC
Bill Wendling 916a94b870 Add an option that allows one to "decode" the LSDA.
The LSDA is a bit difficult for the non-initiated to read. Even with comments,
it's not always clear what's going on. This wraps the ASM streamer in a class
that retains the LSDA and then emits a human-readable description of what's
going on in it.

So instead of having to make sense of:

Lexception1:
        .byte   255
        .byte   155
        .byte   168
        .space  1
        .byte   3
        .byte   26
Lset0 = Ltmp7-Leh_func_begin1
      .long     Lset0
Lset1 = Ltmp812-Ltmp7
      .long     Lset1
Lset2 = Ltmp913-Leh_func_begin1
      .long     Lset2
      .byte     3
Lset3 = Ltmp812-Leh_func_begin1
      .long     Lset3
Lset4 = Leh_func_end1-Ltmp812
      .long     Lset4
      .long     0
      .byte     0
      .byte     1
      .byte     0
      .byte     2
      .byte     125
      .long     __ZTIi@GOTPCREL+4
      .long     __ZTIPKc@GOTPCREL+4

you can read this instead:

## Exception Handling Table: Lexception1
##  @LPStart Encoding: omit
##    @TType Encoding: indirect pcrel sdata4
##        @TType Base: 40 bytes
## @CallSite Encoding: udata4
## @Action Table Size: 26 bytes

## Action 1:
##   A throw between Ltmp7 and Ltmp812 jumps to Ltmp913 on an exception.
##     For type(s):  __ZTIi@GOTPCREL+4 __ZTIPKc@GOTPCREL+4
## Action 2:
##   A throw between Ltmp812 and Leh_func_end1 does not have a landing pad.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133286 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-17 20:35:21 +00:00
..
MCParser Basic support for macros with explicit arguments. 2011-06-05 02:43:45 +00:00
EDInstInfo.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCAsmInfo.h Treat Win64 EH as a DWARF EH scheme. For GCC-style exceptions, the layout of 2011-06-03 05:09:12 +00:00
MCAsmInfoCOFF.h revert 93934, removing the MCAsmInfo endianness bit. I can't 2010-01-20 06:34:14 +00:00
MCAsmInfoDarwin.h Simplify the handling of pcrel relocations on ELF. Now we do the right thing 2011-05-01 03:50:49 +00:00
MCAsmLayout.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
MCAssembler.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
MCCodeEmitter.h MC: Move target specific fixup info descriptors to TargetAsmBackend instead of 2010-12-16 03:20:06 +00:00
MCContext.h Diagnostic for undefined assembler local symbols. 2011-06-15 18:33:28 +00:00
MCDirectives.h Added support for the Mach-O .symbol_resolver directive. rdar://8673046 2010-11-19 18:39:33 +00:00
MCDisassembler.h Adding support for printing operands symbolically to llvm's public 'C' 2011-04-11 18:08:50 +00:00
MCDwarf.h Add support for producing .deubg_frame sections. 2011-05-10 03:54:12 +00:00
MCELFObjectWriter.h Move some data to the TargetWriter. 2010-12-18 03:27:34 +00:00
MCELFSymbolFlags.h sets bit 0 of the function address of thumb function in .symtab 2011-05-16 16:17:21 +00:00
MCExpr.h Fix emission of PPC64 assembler on non-darwin platforms by splitting 2011-06-09 20:25:38 +00:00
MCFixup.h Add support for the same encodings of the personality function that gnu as 2010-12-27 00:36:05 +00:00
MCFixupKindInfo.h MC: Split MCFixupKindInfo out into its own header. 2010-12-16 03:05:53 +00:00
MCInst.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCInstPrinter.h Don't hardcode the %reg format in the streamer. 2011-06-02 02:34:55 +00:00
MCLabel.h Added support in MC for Directional Local Labels. 2010-05-17 23:08:19 +00:00
MCMachObjectWriter.h MC/Mach-O: Shuffle enums a bit to make it harder to inadvertently use the wrong 2010-12-21 15:26:45 +00:00
MCMachOSymbolFlags.h MC/Mach-O/Thumb: Set the thumb bit in the symbol table. 2010-12-29 14:14:06 +00:00
MCObjectStreamer.h Simplify the handling of pcrel relocations on ELF. Now we do the right thing 2011-05-01 03:50:49 +00:00
MCObjectWriter.h Gas is very inconsistent about when a relaxation/relocation is needed. Do 2011-02-16 03:25:55 +00:00
MCSection.h Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
MCSectionCOFF.h make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionELF.h Speculatively revert commit 127478 (jsjodin) in an attempt to fix the 2011-03-12 13:07:37 +00:00
MCSectionMachO.h Fix comments. 2011-03-23 23:32:48 +00:00
MCStreamer.h Add an option that allows one to "decode" the LSDA. 2011-06-17 20:35:21 +00:00
MCSymbol.h MCExpr: Add FindAssociatedSection, which attempts to mirror the 'as' semantics 2011-04-29 18:00:03 +00:00
MCValue.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCWin64EH.h Add a parameter to the Win64 EH section getters to get a section with a 2011-05-27 19:09:24 +00:00
SectionKind.h Trailing whitespace. 2010-07-01 01:00:22 +00:00