Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / empty-subsection.s
blobe573d5b57bdd7f4472fbb6ba2045c55c62373553
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s
3 # RUN: lld-link /entry:main /debug /out:%t.exe %t.obj 2>&1 | FileCheck %s
5 # CHECK: warning: empty symbols subsection
7 .globl main
8 .Lfunc_begin0:
9 main:
10 xorl %eax, %eax
11 retq
12 .Lfunc_end0:
14 .section .debug$S,"dr"
15 .p2align 2
16 .long 4 # Debug section magic
17 .long 241 # Symbol subsection for globals
18 .long .Ltmp5-.Ltmp4 # Subsection size
19 .Ltmp4:
20 .Ltmp5: