mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-09 15:57:28 +00:00
47268164f3
one I found by inspection). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132037 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
511 B
ArmAsm
23 lines
511 B
ArmAsm
# RUN: llvm-mc -triple x86_64-pc-win32 %s | FileCheck %s
|
|
|
|
# CHECK: .seh_proc func
|
|
# CHECK: .seh_pushframe @code
|
|
# CHECK: .seh_stackalloc 24
|
|
# CHECK: .seh_endprologue
|
|
# CHECK: .seh_handler __C_specific_handler, @except
|
|
# CHECK: .seh_endproc
|
|
|
|
.text
|
|
.globl func
|
|
.def func; .scl 2; .type 32; .endef
|
|
.seh_proc func
|
|
func:
|
|
.seh_pushframe @code
|
|
subq $24, %rsp
|
|
.seh_stackalloc 24
|
|
.seh_endprologue
|
|
.seh_handler __C_specific_handler, @except
|
|
addq $24, %rsp
|
|
ret
|
|
.seh_endproc
|