mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
b3ba70f006
This fixes PR36096. Originally based on a patch by Martell Malone. Differential Revision: https://reviews.llvm.org/D44357 llvm-svn: 337613
27 lines
779 B
Modula-2
27 lines
779 B
Modula-2
; RUN: llvm-dlltool -k -m i386 --input-def %s --output-lib %t.a
|
|
; RUN: llvm-readobj %t.a | FileCheck %s
|
|
; RUN: llvm-nm %t.a | FileCheck %s -check-prefix=CHECK-NM
|
|
|
|
LIBRARY test.dll
|
|
EXPORTS
|
|
CdeclFunction
|
|
StdcallFunction@4
|
|
@FastcallFunction@4
|
|
StdcallAlias@4==StdcallFunction@4
|
|
??_7exception@@6B@
|
|
|
|
; CHECK: Name type: noprefix
|
|
; CHECK: Symbol: __imp__CdeclFunction
|
|
; CHECK: Symbol: _CdeclFunction
|
|
; CHECK: Name type: undecorate
|
|
; CHECK: Symbol: __imp__StdcallFunction@4
|
|
; CHECK: Symbol: _StdcallFunction@4
|
|
; CHECK: Name type: undecorate
|
|
; CHECK: Symbol: __imp_@FastcallFunction@4
|
|
; CHECK: Symbol: @FastcallFunction@4
|
|
; CHECK: Name type: name
|
|
; CHECK: Symbol: __imp_??_7exception@@6B@
|
|
; CHECK: Symbol: ??_7exception@@6B@
|
|
; CHECK-NM: W _StdcallAlias@4
|
|
; CHECK-NM: U _StdcallFunction@4
|