summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorJoseph Tremoulet <jotrem@microsoft.com>2015-11-11 19:21:09 +0000
committerJoseph Tremoulet <jotrem@microsoft.com>2015-11-11 19:21:09 +0000
commit9f467353a51014aabe24266484145eb20aa0e889 (patch)
tree89ae8287598d134f416577ceea030b430a93d5b9 /llvm/test/CodeGen
parent14f88158c7a566deb37ff1104fda5928103cc0e4 (diff)
downloadbcm5719-llvm-9f467353a51014aabe24266484145eb20aa0e889.tar.gz
bcm5719-llvm-9f467353a51014aabe24266484145eb20aa0e889.zip
[WinEH] Only generate UnwindHelp slot for MSVCXX
Summary: Other personalities don't use this special frame slot. Reviewers: majnemer, andrew.w.kaylor, rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14580 llvm-svn: 252778
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/seh-catchpad.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/seh-catchpad.ll b/llvm/test/CodeGen/X86/seh-catchpad.ll
index 93775b6aada..895dba883ae 100644
--- a/llvm/test/CodeGen/X86/seh-catchpad.ll
+++ b/llvm/test/CodeGen/X86/seh-catchpad.ll
@@ -97,10 +97,10 @@ ehcleanup.end: ; preds = %ehcleanup
; CHECK: .seh_handler __C_specific_handler, @unwind, @except
; CHECK: pushq %rbp
; CHECK: .seh_pushreg 5
-; CHECK: subq $48, %rsp
-; CHECK: .seh_stackalloc 48
-; CHECK: leaq 48(%rsp), %rbp
-; CHECK: .seh_setframe 5, 48
+; CHECK: subq $32, %rsp
+; CHECK: .seh_stackalloc 32
+; CHECK: leaq 32(%rsp), %rbp
+; CHECK: .seh_setframe 5, 32
; CHECK: .seh_endprologue
; CHECK: .Ltmp0:
; CHECK: movl $1, %ecx
@@ -109,7 +109,7 @@ ehcleanup.end: ; preds = %ehcleanup
; CHECK: .Ltmp1:
; CHECK: .LBB1_[[epilogue:[0-9]+]]: # %__try.cont.12
; CHECK: xorl %eax, %eax
-; CHECK: addq $48, %rsp
+; CHECK: addq $32, %rsp
; CHECK: popq %rbp
; CHECK: retq
; CHECK: .LBB1_[[except1bb:[0-9]+]]: # %catch.dispatch
@@ -162,7 +162,7 @@ ehcleanup.end: ; preds = %ehcleanup
; CHECK: .seh_pushreg 5
; CHECK: subq $32, %rsp
; CHECK: .seh_stackalloc 32
-; CHECK: leaq 48(%rdx), %rbp
+; CHECK: leaq 32(%rdx), %rbp
; CHECK: .seh_endprologue
; CHECK: callq "?fin$0@0@main@@"
; CHECK: nop
OpenPOWER on IntegriCloud