rust/src/librustc_codegen_llvm/debuginfo
Jonas Schievink 0e23d3681e
Rollup merge of #68881 - eddyb:always-preserve-dbg-vars, r=nagisa
rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variables

Making this depend on the optimization level appears to have been a copy-paste mistake (other LLVM functions called in this module also take a `bool` argument, but there it means something unrelated).
Also see https://github.com/rust-lang/rust/pull/8855#discussion_r374392128.

I don't believe we have any reason to let LLVM omit user variables from DWARF, and we were already setting this to `true` when LLVM *could* optimize them away, so this PR should have no effect anyway.

r? @michaelwoerister or @nagisa cc @hanna-kruppe @nikomatsakis
2020-02-09 18:23:31 +01:00
..
create_scope_map.rs rustc_codegen_llvm: remove unnecessary special-casing of root scopes' children. 2020-02-08 17:58:00 +02:00
doc.rs Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
gdb.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
metadata.rs Remove PlaceBase enum and make Place base field be local: Local 2020-01-10 09:08:25 +01:00
mod.rs Rollup merge of #68881 - eddyb:always-preserve-dbg-vars, r=nagisa 2020-02-09 18:23:31 +01:00
namespace.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
source_loc.rs rustc_codegen_ssa: remove unnecessary source_locations_enabled. 2020-02-08 18:27:49 +02:00
utils.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00