Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msvc: Fix parallel building when creating PDB debug info (#3471)
The current way of creating debug info, using the -Zi option, writes all debug info to one central file. This doesn't work if building with multiple compiler invocations in parallel. By adding the -FS option, writing of the PDB file is passed via mspdbsrv.exe, allowing multiple concurrent compiler processes. Alternatively, the debug info could be created using the -Z7 flag instead, which stores the debug info within the object files until the linking stage, which also works for parallel compilation.
- Loading branch information