1 # RUN: yaml2obj %p/Inputs/pdb1.yaml -o %t1.obj
2 # RUN: yaml2obj %p/Inputs/pdb2.yaml -o %t2.obj
4 ; If /DEBUG is not specified, /pdb is ignored.
6 # RUN: lld-link /pdb:%t.pdb /entry:main /nodefaultlib %t1.obj %t2.obj
9 ; If /DEBUG:NONE is specified after /DEBUG, /pdb is ignored.
11 # RUN: lld-link /DEBUG /pdb:%t.pdb /DEBUG:NONE /entry:main /nodefaultlib %t1.obj %t2.obj
14 ; If /DEBUG and /pdb are specified, it uses the specified name.
15 # RUN: lld-link /DEBUG /pdb:%t.pdb /entry:main /nodefaultlib %t1.obj %t2.obj
19 ; If /DEBUG is specified but not /pdb, it uses a default name in the current
20 ; directory. This is a bit hacky since but we need to be IN our test specific
21 ; temporary directory when we run this command or we can't test this
23 # RUN: lld-link /DEBUG /entry:main /nodefaultlib %t1.obj %t2.obj