llvm-6502/lib
Bill Wendling b1ec31d711 The jump table was being generated before the end label for exception handling
was generated. This caused code like this:

## The asm code for the function
        .section        __TEXT,__const
        .align  2
lJTI11_0:
LJTI11_0:
        .long    LBB11_16
        .long    LBB11_4
        .long    LBB11_5
        .long    LBB11_6
        .long    LBB11_7
        .long    LBB11_8
        .long    LBB11_9
        .long    LBB11_10
        .long    LBB11_11
        .long    LBB11_12
        .long    LBB11_13
        .long    LBB11_14
Leh_func_end11:   ## <---now in the wrong section!

The `Leh_func_end11' would then end up in the wrong section, causing the
resulting EH frame information to be wrong:

__ZL11CheckRightsjPKcbRbRP6NSData.eh:
    .set    Lset500eh,Leh_frame_end11-Leh_frame_begin11
    .long   Lset500eh  ; Length of Frame Information Entry                                                                                                                   
Leh_frame_begin11:
    .long   Leh_frame_begin11-Leh_frame_common
    .long   Leh_func_begin11-.
    .set    Lset501eh,Leh_func_end11-Leh_func_begin11
    .long   Lset501eh                                   ; FDE address range                                                                                                                                   
`Lset501eh' is now something huge instead of the real value.

The X86 back-end generates the jump table after the EH information is
emitted. Do the same here.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86588 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-09 21:20:14 +00:00
..
Analysis Default-addressspace null pointers don't alias anything. This allows 2009-11-09 19:29:11 +00:00
Archive
AsmParser Fix MSVC warning ( | with bool and unsigned int). 2009-11-07 23:51:55 +00:00
Bitcode Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions. 2009-11-07 00:16:28 +00:00
CodeGen Print "..." instead of all the uninteresting register clobbers on call 2009-11-09 19:38:45 +00:00
CompilerDriver llvmc: Add a '-time' option. 2009-11-07 06:33:58 +00:00
ExecutionEngine Remove ByteswapSCANFResults, it is dead. 2009-11-08 09:46:57 +00:00
Linker random tidy 2009-11-09 04:18:23 +00:00
MC Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Support add zextOrTrunc and sextOrTrunc methods, that are similar to the ones in APInt 2009-11-09 15:36:28 +00:00
System Revert commit 81144, and add a comment. It caused bugpoint timeouts 2009-11-08 20:55:48 +00:00
Target The jump table was being generated before the end label for exception handling 2009-11-09 21:20:14 +00:00
Transforms Fix a comment in a typo that Duncan noticed. 2009-11-09 18:59:22 +00:00
VMCore make this handle redefinition of malloc with different prototype correctly. 2009-11-09 07:12:01 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00