brintos

brintos / llvm-project-archived public Read only

0
0
Text · 510 B · a96003b Raw
25 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=i686-windows-gnu %s -filetype=obj -o %t.obj4 5# RUN: lld-link -lldmingw -dll -out:%t.dll -entry:main %t.obj -implib:%t.lib6# RUN: llvm-readobj %t.lib | FileCheck %s7 8# CHECK: Symbol: __imp___underscoredFunc9# CHECK: Symbol: __underscoredFunc10# CHECK: Symbol: __imp__func11# CHECK: Symbol: _func12 13.global _main14.global _func15.global __underscoredFunc16.text17_main:18  ret19_func:20  ret21__underscoredFunc:22  ret23.section .drectve24.ascii "-export:func -export:_underscoredFunc"25