2 # RUN: split-file %s %t.dir
3 # RUN: llvm-mc -triple i686-windows-msvc %t.dir/safeseh-md.s -filetype=obj -o %t.obj
4 # RUN: llvm-lib -machine:x86 -out:%t.dir/except_handler3.lib -def:%t.dir/except_handler3.def
5 # RUN: lld-link %t.obj %t.dir/except_handler3.lib -safeseh -out:%t.exe -opt:noref -entry:main
6 # RUN: llvm-readobj --coff-load-config %t.exe | FileCheck %s
24 .section .text,"xr",one_only,_main
30 .safeseh __except_handler3
33 .globl __load_config_used
37 .long ___safe_se_handler_table
38 .long ___safe_se_handler_count
40 #--- except_handler3.def
41 NAME except_handler3.dll