1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/CodeGen/AsmPrinter
Bill Wendling 788d3707a8 Catch a corner case where adding the padding to the "TType base offset" field
will eliminate the need for padding in the "Call site table length". E.g., if
we have this:

    GCC_except_table1:
    Lexception1:
        .byte   0xff  ## @LPStart Encoding = omit
        .byte   0x9b  ## @TType Encoding = indirect pcrel sdata4
        .byte   0x7f  ## @TType base offset
        .byte   0x03  ## Call site Encoding = udata4
        .byte   0x89  ## Call site table length

with padding of 1. We want to emit the padding like this:
 
    GCC_except_table1:
    Lexception1:
        .byte   0xff  ## @LPStart Encoding = omit
        .byte   0x9b  ## @TType Encoding = indirect pcrel sdata4
        .byte   0xff  ## @TType base offset
        .space  1,0   ## Padding
        .byte   0x03  ## Call site Encoding = udata4
        .byte   0x89  ## Call site table length

and not with padding on the "Call site table length" entry.

llvm-svn: 97183
2010-02-25 23:52:44 +00:00
..
AsmPrinter.cpp use OutStreamer.EmitCodeAlignment for alignment in the text 2010-02-23 18:46:22 +00:00
CMakeLists.txt Fix cmake builds. 2009-05-19 00:18:14 +00:00
DIE.cpp Fix to get it to compile. 2010-02-11 01:15:27 +00:00
DIE.h teach MCAsmStreamer::EmitBytes to use .ascii and .asciz 2010-01-23 00:15:00 +00:00
DwarfDebug.cpp Before setting scope end marker, pay attention to scope begin marker and existing scope end marker, if any. Scope must begin before it ends and nested inlined scope do not truncate surrounding scope. 2010-02-17 02:20:34 +00:00
DwarfDebug.h Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
DwarfException.cpp Catch a corner case where adding the padding to the "TType base offset" field 2010-02-25 23:52:44 +00:00
DwarfException.h Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there 2010-02-15 22:35:59 +00:00
DwarfLabel.cpp convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfLabel.h convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfPrinter.cpp MC'ize padding when padding the ULEB128 value. 2010-02-25 00:24:52 +00:00
DwarfPrinter.h LLVM puts padding bytes in the __gcc_except_tab section after the 2010-02-24 23:34:35 +00:00
DwarfWriter.cpp constify a bunch of dwarf stuff now that the registerinfo method 2010-01-26 23:18:02 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
OcamlGCPrinter.cpp remove uses of EOL. 2010-01-22 23:43:14 +00:00