mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
0cb5ff725f
Differential Revision: https://reviews.llvm.org/D104213
17 lines
511 B
Modula-2
17 lines
511 B
Modula-2
; RUN: llvm-dlltool -k -m i386 -d %s -l %t.a
|
|
; RUN: llvm-readobj %t.a | FileCheck %s
|
|
; RUN: llvm-dlltool --kill-at --machine i386 --input-def %s --output-lib %t.a
|
|
; RUN: llvm-readobj %t.a | FileCheck %s
|
|
|
|
LIBRARY test.dll
|
|
EXPORTS
|
|
ByOrdinalFunction @ 1 NONAME
|
|
ByNameFunction
|
|
|
|
; CHECK: Name type: ordinal
|
|
; CHECK-NEXT: Symbol: __imp__ByOrdinalFunction
|
|
; CHECK-NEXT: Symbol: _ByOrdinalFunction
|
|
; CHECK: Name type: noprefix
|
|
; CHECK-NEXT: Symbol: __imp__ByNameFunction
|
|
; CHECK-NEXT: Symbol: _ByNameFunction
|