// RUN: llvm-mc -triple x86_64-pc-win32 -filetype=obj %s | llvm-readobj --sections --section-symbols - | FileCheck %s
.text
.def weak_func;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,weak_func
.globl weak_func
.align 16, 0x90
weak_func: # @weak_func
.Ltmp0:
.seh_proc weak_func
# %bb.0: # %entry
pushq %rbp
.Ltmp1:
.seh_pushreg %rbp
movq %rsp, %rbp
.Ltmp2:
.seh_setframe %rbp, 0
.Ltmp3:
.seh_endprologue
xorl %eax, %eax
popq %rbp
retq
.Leh_func_end0:
.Ltmp4:
.seh_endproc
// CHECK: Sections