llvm-project/lld/test/COFF/comdat-gcc-compatibility-si...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
642 B
Plaintext
Raw Normal View History

# 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