Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / icf-vtables-itanium.s
blob94f2b611dc86b1cbfd4ee7ae0624cfdad03c0072
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
6 # CHECK: Contents of section .text:
7 .globl main
8 main:
9 # CHECK-NEXT: 140001000 00200040 01000000 01200040 01000000
10 .8byte _ZTS
11 .8byte _ZTV
12 # CHECK-NEXT: 140001010 01200040 01000000
13 .8byte _ZTVa
15 .section .rdata,"dr",discard,_ZTS
16 .globl _ZTS
17 _ZTS:
18 .byte 42
20 .section .rdata,"dr",discard,_ZTV
21 .globl _ZTV
22 _ZTV:
23 .byte 42
25 .section .rdata,"dr",discard,_ZTVa
26 .globl _ZTVa
27 _ZTVa:
28 .byte 42