2 # RUN: llvm-mc -filetype=obj -triple=i686-windows-msvc %s -o %t.obj
4 # RUN: lld-link -safeseh:no -entry:dllmain -dll %t.obj -out:%t.dll -implib:%t.lib
5 # RUN: llvm-readobj %t.lib | FileCheck -check-prefix DECORATED-IMPLIB %s
6 # RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix DECORATED-EXPORTS %s
8 # DECORATED-IMPLIB: Name type: name
9 # DECORATED-IMPLIB-NEXT: Export name: @fastcall@8
10 # DECORATED-IMPLIB-NEXT: __imp_@fastcall@8
11 # DECORATED-IMPLIB-NEXT: @fastcall@8
12 # DECORATED-IMPLIB: Name type: name
13 # DECORATED-IMPLIB-NEXT: Export name: _stdcall@8
14 # DECORATED-IMPLIB-NEXT: __imp__stdcall@8
15 # DECORATED-IMPLIB-NEXT: _stdcall@8
16 # DECORATED-IMPLIB: Name type: noprefix
17 # DECORATED-IMPLIB-NEXT: Export name: _underscored
18 # DECORATED-IMPLIB-NEXT: __imp___underscored
19 # DECORATED-IMPLIB-NEXT: __underscored
20 # DECORATED-IMPLIB: Name type: name
21 # DECORATED-IMPLIB-NEXT: Export name: vectorcall@@8
22 # DECORATED-IMPLIB-NEXT: __imp_vectorcall@@8
23 # DECORATED-IMPLIB-NEXT: vectorcall@@8
25 # DECORATED-EXPORTS: Name: @fastcall@8
26 # DECORATED-EXPORTS: Name: _stdcall@8
27 # DECORATED-EXPORTS: Name: _underscored
28 # DECORATED-EXPORTS: Name: vectorcall@@8
62 .ascii "-export:__underscored -export:_stdcall@8 -export:@fastcall@8 -export:vectorcall@@8"