mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
e64ad679ac
Previously, the created object files for the import library were broken. Write the symbol table before the string table. Simplify the code by using a separate variable Prefix instead of duplicating a few lines. Also update the coff-weak-exports to actually check that the generated weak symbols can be found as intended. Differential Revision: https://reviews.llvm.org/D36065 llvm-svn: 309555
12 lines
294 B
Modula-2
12 lines
294 B
Modula-2
; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
|
|
; RUN: llvm-nm %t.a | FileCheck %s
|
|
|
|
LIBRARY test.dll
|
|
EXPORTS
|
|
TestFunction==AltTestFunction
|
|
|
|
; CHECK: U AltTestFunction
|
|
; CHECK-NEXT: w TestFunction
|
|
; CHECK: U __imp_AltTestFunction
|
|
; CHECK-NEXT: w __imp_TestFunction
|