Commit d51e721
authored
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.1 parent 6b9e449 commit d51e721
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments