21 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s3# RUN: lld-link /entry:main /debug /out:%t.exe %t.obj 2>&1 | FileCheck %s4 5# CHECK: warning: empty symbols subsection6 7.globl main8.Lfunc_begin0:9main:10 xorl %eax, %eax11 retq12.Lfunc_end0:13 14.section .debug$S,"dr"15 .p2align 216 .long 4 # Debug section magic17 .long 241 # Symbol subsection for globals18 .long .Ltmp5-.Ltmp4 # Subsection size19.Ltmp4:20.Ltmp5:21