brintos

brintos / llvm-project-archived public Read only

0
0
Text · 632 B · 00098c6 Raw
28 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %tobject.obj %S/Inputs/object.s4# RUN: lld-link -dll -entry:f -out:%t.dll -implib:%t.lib %tobject.obj5# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %tmain.obj %s6# RUN: lld-link -entry:main -out:%t.exe -opt:ref -debug:dwarf %tmain.obj %t.lib7# RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s8 9# CHECK-NOT: Symbol: f10 11	.def	 main;12	.scl	2;13	.type	32;14	.endef15	.section	.text,"xr",one_only,main16	.globl	main17main:18	retq19 20	.def	 stripped;21	.scl	3;22	.type	32;23	.endef24	.section	.text,"xr",one_only,stripped25stripped:26	callq	__imp_f27	retq28