| # 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 2>&1 \ |
| # RUN: | FileCheck --check-prefix=TODO %s |
| # TODO: warning: /pdbpagesize: page sizes != 4096 not yet implemented, ignoring flag |