forked from OSchip/llvm-project
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
# RUN: yaml2obj %p/Inputs/empty.yaml -o %t.obj
|
|
|
|
# RUN: not lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:hi 2>&1 \
|
|
# RUN: | FileCheck --check-prefix=INVALID %s
|
|
# RUN: not lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:15 2>&1 \
|
|
# RUN: | FileCheck --check-prefix=INVALID %s
|
|
# INVALID: error: /pdbpagesize: invalid argument:
|
|
|
|
# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:4096
|
|
# RUN: llvm-pdbutil pdb2yaml %t.pdb | FileCheck --check-prefix=PAGE4096 %s
|
|
# PAGE4096: BlockSize: 4096
|
|
|
|
# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:8192
|
|
# RUN: llvm-pdbutil pdb2yaml %t.pdb | FileCheck --check-prefix=PAGE8192 %s
|
|
# PAGE8192: BlockSize: 8192
|
|
|
|
# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:16384
|
|
# RUN: llvm-pdbutil pdb2yaml %t.pdb | FileCheck --check-prefix=PAGE16384 %s
|
|
# PAGE16384: BlockSize: 16384
|
|
|
|
# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbpagesize:32768
|
|
# RUN: llvm-pdbutil pdb2yaml %t.pdb | FileCheck --check-prefix=PAGE32768 %s
|
|
# PAGE32768: BlockSize: 32768
|