brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · 5ad9c68 Raw
23 lines · plain
1# RUN: rm -rf %t && mkdir -p %t2# RUN: yaml2obj %S/Inputs/COFF_strong_def.yaml -o %t/COFF_strong_1.o3# RUN: yaml2obj %S/Inputs/COFF_strong_def.yaml -o %t/COFF_strong_2.o4# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t/COFF_main.o5# RUN: 6# RUN: not llvm-jitlink -noexec %t/COFF_main.o %t/COFF_strong_1.o %t/COFF_strong_2.o \7# RUN: -slab-allocate 100Kb -slab-address 0xfff00000 -slab-page-size 4096 \8# RUN: -show-graph9#10# Check that duplicate strong definitions cause llvm-jitlink to terminate with error.11#12 13	.text14 15	.def	main;16	.scl	2;17	.type	32;18	.endef19	.globl	main20	.p2align	4, 0x9021main:22    callq func23	retq