1 # RUN: not llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
5 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
8 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
14 .globl f # -- Begin function f
26 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: stack allocation size must be non-zero
28 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: stack allocation size is not a multiple of 8
43 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: .seh_ directive must appear within an active frame
53 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: you must specify a stack pointer offset
55 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: offset is not a multiple of 16
57 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: frame offset must be less than or equal to 240
60 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: frame register and offset can be set at most once
67 .globl h # -- Begin function h
74 movaps
%xmm7
, 48(%rsp
) # 16-byte Spill
76 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: you must specify an offset on the stack
78 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: offset is not a multiple of 16
80 movaps
%xmm6
, 32(%rsp
) # 16-byte Spill
89 movaps
32(%rsp
), %xmm6
# 16-byte Reload
90 movaps
48(%rsp
), %xmm7
# 16-byte Reload