llvm.org GIT mirror llvm / 618b2ed
[WinEH] Fix tests broken by funclet-layout git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247944 91177308-0d34-0410-b5e6-96231b3b80d8 David Majnemer 4 years ago
2 changed file(s) with 12 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
6565 ; X86: popl %ebp
6666 ; X86: retl
6767
68 ; X86: [[restorebb:LBB0_[0-9]+]]:
69 ; X86: movl -16(%ebp), %esp
70 ; X86: addl $12, %ebp
71 ; X86: jmp [[contbb]]
72
6873 ; X86: [[catch1bb:LBB0_[0-9]+]]: # %catch{{$}}
6974 ; X86: pushl %ebp
7075 ; X86-NOT: pushl
7580 ; X86: calll _f
7681 ; X86: addl $16, %esp
7782 ; X86-NEXT: popl %ebp
78 ; X86-NEXT: movl $[[restorebb:LBB0_[0-9]+]], %eax
83 ; X86-NEXT: movl $[[restorebb]], %eax
7984 ; X86-NEXT: retl
80
81 ; FIXME: Lay this out in the parent funclet.
82 ; X86: [[restorebb]]:
83 ; X86: movl -16(%ebp), %esp
84 ; X86: addl $12, %ebp
85 ; X86: jmp [[contbb]]
8685
8786 ; X86: L__ehtable$try_catch_catch:
8887 ; X86: $handlerMap$0$try_catch_catch:
7272 ; X86: [[contbb:LBB0_[0-9]+]]: # %try.cont
7373 ; X86: retl
7474
75 ; X86: [[restorebb:LBB0_[0-9]+]]: # %invoke.cont.3
76 ; X86: movl -16(%ebp), %esp
77 ; X86: addl $12, %ebp
78 ; X86: jmp [[contbb]]
79
7580 ; X86: [[catch1bb:LBB0_[0-9]+]]: # %catch{{$}}
7681 ; X86: pushl %ebp
7782 ; X86: addl $12, %ebp
8489 ; X86: calll _f
8590 ; X86-NEXT: addl $8, %esp
8691 ; X86-NEXT: popl %ebp
87 ; X86-NEXT: movl $[[restorebb:LBB0_[0-9]+]], %eax
92 ; X86-NEXT: movl $[[restorebb]], %eax
8893 ; X86-NEXT: retl
8994
9095 ; X86: [[catch2bb:LBB0_[0-9]+]]: # %catch.2{{$}}
100105 ; X86-NEXT: popl %ebp
101106 ; X86-NEXT: movl $[[restorebb]], %eax
102107 ; X86-NEXT: retl
103
104 ; FIXME: We should lay this code out up with the parent function.
105 ; X86: [[restorebb]]:
106 ; X86: movl -16(%ebp), %esp
107 ; X86: addl $12, %ebp
108 ; X86: jmp [[contbb]]
109108
110109 ; X86: L__ehtable$try_catch_catch:
111110 ; X86: $handlerMap$0$try_catch_catch: