1# REQUIRES: x86 2# RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s 3# RUN: lld-link %t.obj /out:%t.exe /entry:main /subsystem:console 4# RUN: llvm-objdump -s %t.exe | FileCheck %s 5 6# CHECK: Contents of section .text: 7.globl main 8main: 9# CHECK-NEXT: 140001000 00200040 01000000 01200040 01000000 10.8byte "??_" 11.8byte "??_7" 12# CHECK-NEXT: 140001010 01200040 01000000 13.8byte "??_7a" 14 15.section .rdata,"dr",discard,"??_" 16.globl "??_" 17"??_": 18.byte 42 19 20.section .rdata,"dr",discard,"??_7" 21.globl "??_7" 22"??_7": 23.byte 42 24 25.section .rdata,"dr",discard,"??_7a" 26.globl "??_7a" 27"??_7a": 28.byte 42 29