llvm-project/lld/test/pecoff/dynamic.test

12 lines
373 B
Plaintext

# RUN: yaml2obj %p/Inputs/vars-main-x86.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:main /opt:noref \
# RUN: -- %t.obj %p/Inputs/vars.lib
# RUN: llvm-objdump -p %t.exe | FileCheck %s
CHECK: DLL Name: vars.dll
CHECK-NEXT: Hint/Ord Name
CHECK-NEXT: 0 _name_with_underscore
CHECK-NEXT: 1 fn
CHECK-NEXT: 1