3 # RUN: llvm-mc -triple=x86_64-windows %s -filetype=obj -o %t.obj
5 # RUN: lld-link -dll -out:%t.dll -entry:entry %t.obj -subsystem:console
6 # RUN: llvm-objdump -p %t.dll | FileCheck %s
9 # CHECK: DLL name: directives.s.tmp.dll
10 # CHECK: Ordinal RVA Name
11 # CHECK-NEXT: 1 0x1000 exportfn1
12 # CHECK-NEXT: 2 0x1000 exportfn2
13 # CHECK-NEXT: 3 0x1000 exportfn3
14 # CHECK-NEXT: 4 0x1000 exportfn4
15 # CHECK-NEXT: 5 0x1000 exportfn5
16 # CHECK-NEXT: 6 0x1000 exportfn6
35 # Test that directive strings can be separated by any combination of
36 # spaces and null bytes.
37 .ascii "-export:exportfn1 "
38 .asciz "-export:exportfn2"
39 .asciz "-export:exportfn3"
40 .asciz "-export:exportfn4 "
44 .asciz "-export:exportfn5"
45 .asciz " -export:exportfn6"