[ELF] relocateNonAlloc: clean up workaround code
[llvm-project.git] / lld / test / COFF / icf-vtables-itanium-i386.s
blob77b3755178b8b2718cf8ccedc1ee71dc3f944e60
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=i386-windows-gnu -filetype=obj -o %t.obj %s
3 # RUN: lld-link %t.obj /out:%t.exe /entry:main /subsystem:console /safeseh:no
4 # RUN: llvm-objdump -s %t.exe | FileCheck %s
6 # CHECK: Contents of section .text:
7 .globl _main
8 _main:
9 # CHECK-NEXT: 401000 00204000 01204000 01204000
10 .long __ZTS
11 .long __ZTV
12 .long __ZTVa
14 .section .rdata,"dr",discard,__ZTS
15 .globl __ZTS
16 __ZTS:
17 .byte 42
19 .section .rdata,"dr",discard,__ZTV
20 .globl __ZTV
21 __ZTV:
22 .byte 42
24 .section .rdata,"dr",discard,__ZTVa
25 .globl __ZTVa
26 __ZTVa:
27 .byte 42