rust/compiler/rustc_codegen_ssa
Wesley Wiser 533002d3a1 Fix closed over variables not available in debuginfo for Windows MSVC
The issue was that the resulting debuginfo was too complex for LLVM to
translate into CodeView records correctly. As a result, it simply
ignored the debuginfo which meant Windows debuggers could not display
any closed over variables when stepping inside a closure.

This fixes that by spilling additional variables to the stack so that
the resulting debuginfo is simple (just `*my_variable.dbg.spill`) and
LLVM can generate the correct CV records.
2021-04-08 14:08:56 -04:00
..
src Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
Cargo.toml Add an Mmap wrapper to rustc_data_structures 2021-03-30 18:57:03 +02:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.