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

12 lines
344 B
Plaintext

# RUN: yaml2obj %p/Inputs/export.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t.dll /dll /entry:init \
# RUN: /export:exportfn1 /export:exportfn2 /lldmoduledeffile:%t.def -- %t.obj
# RUN: FileCheck %s < %t.def
CHECK: LIBRARY "exportlib2.test.tmp.dll"
CHECK: EXPORTS
CHECK: exportfn1 @1
CHECK: exportfn2 @2
CHECK: exportfn3@256 @3