Skip to content

Swift: Emit debug information on Windows

Saleem Abdulrasool requested to merge compnerd/cmake:debugging into master

When building on Windows, we need to ensure that we pass -debug to the linker to emit the PDB (or -debug:dwarf when building with lld and using DWARF). We would previously not do this which meant that we never emitted the debug information making debugging more difficult.

Fixes: #24423 (closed)
Topic-rename: swift-debug-info

Edited by Brad King

Merge request reports

Loading