Swift: Emit debug information on Windows
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