You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
642 B

# RUN: yaml2obj %p/Inputs/comdat-llvm.yaml > %t.llvm.o
# RUN: yaml2obj %p/Inputs/comdat-binutils.yaml > %t.binutils.o
# RUN: lld-link -lldmingw -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll
# RUN: lld-link -lldmingw -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll
# RUN: not lld-link -noentry -dll %t.llvm.o %t.binutils.o -out:%t.dll
# RUN: not lld-link -noentry -dll %t.binutils.o %t.llvm.o -out:%t.dll
# The test object files have been generated by assembling the following
# snippet using binutils and llvm.
# .section .rdata$mysymbol, "dr"
# .linkonce same_size
# .globl mysymbol
#mysymbol:
# .byte 42