mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
4ec77fc2c7
A PE COFF spec compliant import library generator. Intended to be used with mingw-w64. Supports: PE COFF spec (section 8, Import Library Format) PE COFF spec (Aux Format 3: Weak Externals) Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D29892 This reapplies rL308329, which was reverted in rL308374 llvm-svn: 308379
20 lines
488 B
Modula-2
20 lines
488 B
Modula-2
; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
|
|
; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s
|
|
|
|
LIBRARY test.dll
|
|
EXPORTS
|
|
TestFunction==AltTestFunction
|
|
|
|
; CHECK: File: test.dll
|
|
; CHECK: Format: COFF-x86-64
|
|
; CHECK: Arch: x86_64
|
|
; CHECK: AddressSize: 64bit
|
|
; CHECK: File: test.dll
|
|
; CHECK: Format: COFF-x86-64
|
|
; CHECK: Arch: x86_64
|
|
; CHECK: AddressSize: 64bit
|
|
; CHECK: File: test.dll
|
|
; CHECK: Format: COFF-x86-64
|
|
; CHECK: Arch: x86_64
|
|
; CHECK: AddressSize: 64bit
|