16 lines · plain
1# RUN: yaml2obj %p/Inputs/comdat-llvm.yaml > %t.llvm.o2# RUN: yaml2obj %p/Inputs/comdat-binutils.yaml > %t.binutils.o3# RUN: lld-link -lldmingw -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll4# RUN: lld-link -lldmingw -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll5# RUN: not lld-link -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll6# RUN: not lld-link -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll7 8# The test object files have been generated by assembling the following9# snippet using binutils and llvm.10 11# .section .rdata$mysymbol, "dr"12# .linkonce same_size13# .globl mysymbol14#mysymbol:15# .byte 4216