rust/compiler/rustc_codegen_ssa/src
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
..
back Rollup merge of #82483 - tmiasko:option-from-str, r=matthewjasper 2021-04-05 13:03:37 +02:00
coverageinfo Translate counters from Rust 1-based to LLVM 0-based counter ids 2021-04-02 17:16:36 -07:00
debuginfo Stop adding '*' at the end of type names for Ref and Slice when computing debug info for MSVC debuggers 2020-11-30 14:31:34 -08:00
mir Fix closed over variables not available in debuginfo for Windows MSVC 2021-04-08 14:08:56 -04:00
traits Changes from review comments 2021-03-23 17:02:10 -07:00
base.rs Remove attribute #[link_args] 2021-04-03 21:25:53 +03:00
common.rs Support LLVM 12 in rustc 2021-02-28 10:19:44 +01:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs Remove attribute #[link_args] 2021-04-03 21:25:53 +03:00
meth.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs Use an ItemId inside mir::GlobalAsm. 2021-02-15 19:24:58 +01:00
target_features.rs Rollup merge of #80525 - devsnek:wasm64, r=nagisa 2021-04-05 00:24:23 +02:00