// This test checks the alignment and padding of the unwind info.
// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj -S --sd --sr -u - | FileCheck %s
// CHECK: Sections
// CHECK: UnwindInformation
// Generates two unwind codes.
// Requires no padding of the unwind code array.
.globl func
.def func; .scl 2; .type 32; .endef
.seh_proc func
push %r12
.seh_pushreg %r12
push %r13
.seh_pushreg %r13
.seh_handler __C_specific_handler, @except, @unwind
.seh_handlerdata
.long 0xcafebabe
.text
.seh_endprologue
func:
pop %r13
pop %r12
ret
.seh_endproc