blob: 29797bbf931063f4cb9f44f678066f48cff38bc4 [file] [log] [blame]
# Check that /debug creates %t.pdb.
# RUN: rm -f %t.pdb
# RUN: lld-link /debug /entry:main /out:%t.exe %p/Inputs/ret42.obj
# RUN: ls %t.pdb
# Check that /debug /nopdb does not create %t.pdb.
# RUN: rm -f %t.pdb
# RUN: lld-link /debug /nopdb /entry:main /out:%t.exe %p/Inputs/ret42.obj
# RUN: not ls %t.pdb
# Check that /debug /nopdb /pdb:%t.pdb does not create %t.pdb.
# RUN: rm -f %t.pdb
# RUN: lld-link /debug /nopdb /pdb:%t.pdb /entry:main /out:%t.exe %p/Inputs/ret42.obj
# RUN: not ls %t.pdb