readme: Document the new implicit pdb output file naming

This commit is contained in:
Martin Storsjö committed 2019-05-28 00:04:39 +03:00
1 parent 5623fd232c
commit 0d4861fdd3
1 file changed
+4 -1
+4 -1
View File
@@ -102,7 +102,10 @@ changes:
- Add `-gcodeview` to the compilation commands (e.g. in
`wrappers/clang-target-wrapper.sh`), together with using `-g` as usual to
enable debug info in general.
- Add `-Wl,-pdb,module.pdb` to linking commands.
- Add `-Wl,-pdb=` to linking commands. This creates a PDB file at the same
location as the output EXE/DLL, but with a PDB extension. (By passing
`-Wl,-pdb=module.pdb` or `-Wl,-pdb,module.pdb` one can explicitly specify
the name of the output PDB file.)
Even though LLVM supports this, there are a few caveats with using it when
building in MinGW mode: