Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / stack-drectve.s
blob0bb717eec811c88c9c8c0c74040b9bae162dae16
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-win32 %s -o %t.obj
3 # RUN: lld-link /out:%t.exe /entry:main %t.obj
4 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s
6 # CHECK: SizeOfStackReserve: 20480
7 # CHECK: SizeOfStackCommit: 12288
9 .text
10 .globl main
11 main:
12 mov $42, %eax
13 ret
15 .section .drectve,"yn"
16 .ascii " -stack:0x5000,0x3000"