zig/deps/lld/test/COFF/export-exe.test
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

11 lines
348 B
Plaintext

# RUN: lld-link /entry:main /out:%t.exe /subsystem:windows \
# RUN: %p/Inputs/ret42.obj /export:main
# RUN: llvm-objdump -p %t.exe | FileCheck %s
CHECK: Export Table:
CHECK-NEXT: DLL name: export-exe.test.tmp.exe
CHECK-NEXT: Ordinal base: 0
CHECK-NEXT: Ordinal RVA Name
CHECK-NEXT: 0 0
CHECK-NEXT: 1 0x1000 main