19 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t1.obj %s3# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t2.obj %s4 5# LLD should not error on relocations in DWARF debug sections against symbols in6# discarded sections.7# RUN: lld-link -entry:main -debug %t1.obj %t2.obj8 9 .section .text,"xr",discard,main10 .globl main11main:12f:13 retq14 15 .section .debug_info,"dr"16 .quad f17 .section .eh_frame,"dr"18 .quad f19