brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 5f886c4 Raw
40 lines · plain
1# RUN: yaml2obj %p/Inputs/empty.yaml -o %t.obj2 3# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:hello.pdb4# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix HELLO %s5# HELLO:       PDBFileName: hello.pdb6 7# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:%_Pdb%8# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix PDBVAR %s9# PDBVAR:       PDBFileName: pdbaltpath.test.tmp.pdb10 11# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%_ExT%.pdb12# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix EXTVAR %s13# EXTVAR:       PDBFileName: fooexe.pdb14 15# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:%_PDB16# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix NOCLOSE %s17# NOCLOSE:       PDBFileName: %_PDB18 19# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%_PDB20# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix NOCLOSE2 %s21# NOCLOSE2:       PDBFileName: foo%_PDB22 23# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%_PDB%bar%_EXT24# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix CLOSEONE %s25# CLOSEONE:       PDBFileName: foopdbaltpath.test.tmp.pdbbar%_EXT26 27# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%_PDB%bar%_EXT%28# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix CLOSETWO %s29# CLOSETWO:       PDBFileName: foopdbaltpath.test.tmp.pdbbarexe30 31# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%_PDB%bar%_EXT%a32# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix CLOSETWO2 %s33# CLOSETWO2:       PDBFileName: foopdbaltpath.test.tmp.pdbbarexea34 35# RUN: lld-link /entry:main %t.obj /out:%t.exe /debug /pdbaltpath:foo%FoO%bar%r%a 2>&1 | FileCheck --check-prefix UNKNOWN-WARN %s36# RUN: llvm-readobj --coff-debug-directory %t.exe | FileCheck --check-prefix ENVVARS %s37# UNKNOWN-WARN: only %_PDB% and %_EXT% supported in /pdbaltpath:, keeping %FoO% as literal38# UNKNOWN-WARN: only %_PDB% and %_EXT% supported in /pdbaltpath:, keeping %r% as literal39# ENVVARS:       PDBFileName: foo%FoO%bar%r%a40