[clang-tidy][use-internal-linkage]fix false positives for global overloaded operator...
[llvm-project.git] / lld / test / COFF / default-alignment.test
blob8d441827f4f9cebf158e2c791b452d4015102e76
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.exe %t.obj /entry:__ImageBase /subsystem:console
3 # RUN: llvm-objdump -s %t.exe | FileCheck %s
5 # CHECK: Contents of section .rdata:
6 # CHECK-NEXT: 01000000 00000000 00000000 00000000
7 # CHECK-NEXT: 02
9 --- !COFF
10 header:
11   Machine:         IMAGE_FILE_MACHINE_AMD64
12   Characteristics: []
13 sections:
14   - Name:            .rdata
15     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
16     SectionData:     01
17   - Name:            .rdata
18     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
19     SectionData:     02
20 symbols:
21 ...