17 lines · plain
1; REQUIRES: x862 3; RUN: echo > %t.s4; RUN: llvm-mc -filetype=obj -triple=i686-windows %t.s -o %t.obj5; RUN: lld-link -machine:x86 -dll -noentry -safeseh:no -out:%t.dll -def:%s %t.obj6; RUN: llvm-readobj --coff-exports %t.dll | FileCheck %s7 8; CHECK: Export {9; CHECK-NEXT: Ordinal: 110; CHECK-NEXT: Name: func11; CHECK-NEXT: ForwardedTo: other.dll.func12; CHECK-NEXT: }13 14LIBRARY test.dll15EXPORTS16 func = other.dll.func17