bolt/deps/llvm-18.1.8/lld/test/COFF/export-exe.test
2025-02-14 19:21:04 +01:00

9 lines
319 B
Text

# 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: 1
CHECK-NEXT: Ordinal RVA Name
CHECK-NEXT: 1 0x1000 main