summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/directive_seh.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/AsmParser/directive_seh.s')
-rw-r--r--llvm/test/MC/AsmParser/directive_seh.s10
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/test/MC/AsmParser/directive_seh.s b/llvm/test/MC/AsmParser/directive_seh.s
index 5fd2efad39a..7111fcc6b20 100644
--- a/llvm/test/MC/AsmParser/directive_seh.s
+++ b/llvm/test/MC/AsmParser/directive_seh.s
@@ -1,8 +1,9 @@
# RUN: llvm-mc -triple x86_64-pc-win32 %s | FileCheck %s
# CHECK: .seh_proc func
-# CHECK: .seh_stackalloc 8
+# CHECK: .seh_stackalloc 24
# CHECK: .seh_endprologue
+# CHECK: .seh_handler __C_specific_handler, @except
# CHECK: .seh_endproc
.text
@@ -10,9 +11,10 @@
.def func; .scl 2; .type 32; .endef
.seh_proc func
func:
- subq $8, %rsp
- .seh_stackalloc 8
+ subq $24, %rsp
+ .seh_stackalloc 24
.seh_endprologue
- addq $8, %rsp
+ .seh_handler __C_specific_handler, @except
+ addq $24, %rsp
ret
.seh_endproc
OpenPOWER on IntegriCloud