Skip to content

Commit 0d4861f

Browse files
committed
readme: Document the new implicit pdb output file naming
1 parent 5623fd2 commit 0d4861f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ changes:
102102
- Add `-gcodeview` to the compilation commands (e.g. in
103103
`wrappers/clang-target-wrapper.sh`), together with using `-g` as usual to
104104
enable debug info in general.
105-
- Add `-Wl,-pdb,module.pdb` to linking commands.
105+
- Add `-Wl,-pdb=` to linking commands. This creates a PDB file at the same
106+
location as the output EXE/DLL, but with a PDB extension. (By passing
107+
`-Wl,-pdb=module.pdb` or `-Wl,-pdb,module.pdb` one can explicitly specify
108+
the name of the output PDB file.)
106109

107110
Even though LLVM supports this, there are a few caveats with using it when
108111
building in MinGW mode:

0 commit comments

Comments
 (0)