brintos

brintos / llvm-project-archived public Read only

0
0
Text · 889 B · aaca549 Raw
21 lines · plain
1# REQUIRES: x862#3# RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-head.s -filetype=obj -o %t-dabcdh.o4# RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-func.s -filetype=obj -o %t-dabcds00000.o5# RUN: llvm-mc -triple=x86_64-windows-gnu %p/Inputs/gnu-implib-tail.s -filetype=obj -o %t-dabcdt.o6# RUN: rm -f %t-implib.a7# RUN: llvm-ar rcs %t-implib.a %t-dabcdh.o %t-dabcds00000.o %t-dabcdt.o8# RUN: lld-link -lldmingw -dll -out:%t.dll -entry:main -subsystem:console \9# RUN:   %p/Inputs/hello64.obj %p/Inputs/std64.lib %t-implib.a -include:func10# RUN: llvm-readobj --coff-exports %t.dll | FileCheck -check-prefix=EXPORT %s11 12# Check that only the single normal symbol was exported, none of the symbols13# from the import library.14 15EXPORT:      Export {16EXPORT-NEXT:   Ordinal: 117EXPORT-NEXT:   Name: main18EXPORT-NEXT:   RVA: 0x101019EXPORT-NEXT: }20EXPORT-NEXT-EMPTY:21