Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / header-size.s
blob6561b60a2c9cbd37301920dd2b69b444530a522a
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj
3 // RUN: lld-link -entry:main -subsystem:console %t.obj -out:%t.exe
4 // RUN: llvm-readobj --sections %t.exe | FileCheck %s
5 .globl main
6 main:
7 ret
9 // Check that the first section data comes at 512 bytes in the file.
10 // If the size allocated for headers would include size for section
11 // headers which aren't written, PointerToRawData would be 0x400 instead.
12 // CHECK: PointerToRawData: 0x200