projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test basic SEH directive-parsing functionality. Fix a latent bug exposed by
[oota-llvm.git]
/
test
/
MC
/
AsmParser
/
directive_seh.s
1
# RUN: llvm-mc -triple x86_64-pc-win32 %s | FileCheck %s
2
3
# CHECK: .seh_proc func
4
# CHECK: .seh_stackalloc 8
5
# CHECK: .seh_endprologue
6
# CHECK: .seh_endproc
7
8
.text
9
.globl func
10
.def func; .scl 2; .type 32; .endef
11
.seh_proc func
12
func:
13
subq $8, %rsp
14
.seh_stackalloc 8
15
.seh_endprologue
16
addq $8, %rsp
17
ret
18
.seh_endproc