Skip to content

Commit

Permalink
rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variab…
Browse files Browse the repository at this point in the history
…les.
  • Loading branch information
eddyb committed Feb 6, 2020
1 parent ed853b8 commit b82f6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_codegen_llvm/debuginfo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ impl DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
file_metadata,
loc.line as c_uint,
type_metadata,
self.sess().opts.optimize != config::OptLevel::No,
true,
DIFlags::FlagZero,
argument_index,
align.bytes() as u32,
Expand Down

0 comments on commit b82f6c5

Please sign in to comment.