aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-lib/underscore.test
blob: 61eee00bcf9bc83c0ae1b54b9423ea90638d5f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; RUN: llvm-lib -machine:x86 -out:%t.lib -def:%s
; RUN: llvm-readobj %t.lib | FileCheck %s

; CHECK:      File: test.dll
; CHECK-NEXT: Format: COFF-import-file-i386
; CHECK-NEXT: Type: code
; CHECK-NEXT: Name type: noprefix
; CHECK-NEXT: Export name: func
; CHECK-NEXT: Symbol: __imp__func
; CHECK-NEXT: Symbol: _func
; CHECK-EMPTY:
; CHECK-NEXT: File: test.dll
; CHECK-NEXT: Format: COFF-import-file-i386
; CHECK-NEXT: Type: code
; CHECK-NEXT: Name type: noprefix
; CHECK-NEXT: Export name: test.func
; CHECK-NEXT: Symbol: __imp__test.func
; CHECK-NEXT: Symbol: _test.func

LIBRARY test.dll
EXPORTS
        func
        test.func