1# REQUIRES: x86 2# RUN: llvm-mc -triple=x86_64-windows-gnu -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 _ZTS 11.8byte _ZTV 12# CHECK-NEXT: 140001010 01200040 01000000 13.8byte _ZTVa 14 15.section .rdata,"dr",discard,_ZTS 16.globl _ZTS 17_ZTS: 18.byte 42 19 20.section .rdata,"dr",discard,_ZTV 21.globl _ZTV 22_ZTV: 23.byte 42 24 25.section .rdata,"dr",discard,_ZTVa 26.globl _ZTVa 27_ZTVa: 28.byte 42 29