You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
661 B
20 lines
661 B
# 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:dwarf does not create %t.pdb.
|
|
# RUN: rm -f %t.pdb
|
|
# RUN: lld-link /debug:dwarf /entry:main /out:%t.exe %p/Inputs/ret42.obj
|
|
# RUN: not ls %t.pdb
|
|
|
|
# Check that /debug:dwarf /debug creates %t.pdb.
|
|
# RUN: rm -f %t.pdb
|
|
# RUN: lld-link /debug:dwarf /debug /entry:main /out:%t.exe %p/Inputs/ret42.obj
|
|
# RUN: ls %t.pdb
|
|
|
|
# Check that /debug:dwarf /pdb:%t.pdb does not create %t.pdb.
|
|
# RUN: rm -f %t.pdb
|
|
# RUN: lld-link /debug:dwarf /pdb:%t.pdb /entry:main /out:%t.exe %p/Inputs/ret42.obj
|
|
# RUN: not ls %t.pdb
|