29 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-gnu -filetype=obj -o %t.obj %s3# RUN: lld-link %t.obj /out:%t.exe /entry:main /subsystem:console4# RUN: llvm-objdump -s %t.exe | FileCheck %s5 6# CHECK: Contents of section .text:7.globl main8main:9# CHECK-NEXT: 140001000 00200040 01000000 01200040 0100000010.8byte _ZTS11.8byte _ZTV12# CHECK-NEXT: 140001010 01200040 0100000013.8byte _ZTVa14 15.section .rdata,"dr",discard,_ZTS16.globl _ZTS17_ZTS:18.byte 4219 20.section .rdata,"dr",discard,_ZTV21.globl _ZTV22_ZTV:23.byte 4224 25.section .rdata,"dr",discard,_ZTVa26.globl _ZTVa27_ZTVa:28.byte 4229