• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4
5# CHECK: warning: empty symbols subsection
6
7.globl main
8.Lfunc_begin0:
9main:
10  xorl  %eax, %eax
11  retq
12.Lfunc_end0:
13
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:
21