rust/compiler/rustc_codegen_ssa/src/mir
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
..
analyze.rs Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasper 2021-03-16 22:42:56 +00:00
block.rs Use AnonConst for asm! constants 2021-04-06 12:35:41 +01:00
constant.rs update const_eval_resolve 2021-03-20 17:22:24 +01:00
coverageinfo.rs Translate counters from Rust 1-based to LLVM 0-based counter ids 2021-04-02 17:16:36 -07:00
debuginfo.rs Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
intrinsic.rs Switch to changing cp_non_overlap in tform 2021-03-09 16:54:14 +00:00
mod.rs Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
operand.rs codegen: assume constants cannot fail to evaluate 2021-01-30 12:29:57 +01:00
place.rs Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
rvalue.rs Emit the enum range assumption if the range only contains one element 2021-03-12 12:06:10 +08:00
statement.rs Make source-based code coverage compatible with MIR inlining 2021-03-15 23:26:03 +01:00