rust/compiler/rustc_codegen_llvm/src
bors e6c43cf8b9 Auto merge of #95685 - oxidecomputer:restore-static-dwarf, r=pnkfelix
Revert "Work around invalid DWARF bugs for fat LTO"

Since September, the toolchain has not been generating reliable DWARF
information for static variables when LTO is on. This has affected
projects in the embedded space where the use of LTO is typical. In our
case, it has kept us from bumping past the 2021-09-22 nightly toolchain
lest our debugger break. This has been a pretty dramatic regression for
people using debuggers and static variables. See #90357 for more info
and a repro case.

This commit is a mechanical revert of
d5de680e20 from PR #89041, which caused
the issue. (Note on that PR that the commit's author has requested it be
reverted.)

I have locally verified that this fixes #90357 by restoring the
functionality of both the repro case I posted on that bug, and debugger
behavior on real programs. There do not appear to be test cases for this
in the toolchain; if I've missed them, point me at 'em and I'll update
them.
2022-07-16 00:18:54 +00:00
..
back Auto merge of #95685 - oxidecomputer:restore-static-dwarf, r=pnkfelix 2022-07-16 00:18:54 +00:00
coverageinfo add #[rustc_pass_by_value] to more types 2022-03-08 15:39:52 +01:00
debuginfo fix dwarf debuginfo being used in addition to CodeView on windows 2022-07-14 20:41:55 +02:00
llvm Auto merge of #95685 - oxidecomputer:restore-static-dwarf, r=pnkfelix 2022-07-16 00:18:54 +00:00
abi.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
allocator.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
asm.rs Add tmm_reg clobbers 2022-05-16 20:15:06 -04:00
attributes.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
base.rs Auto merge of #95689 - lqd:self-profiler, r=wesleywiser 2022-04-16 11:43:28 +00:00
builder.rs Prefer trace level instrumentation for the new noisy instrument attributes 2022-07-05 09:27:06 +00:00
callee.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
common.rs don't allow ZST in ScalarInt 2022-07-09 07:27:29 -04:00
consts.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
context.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
declare.rs Remove LLVM attribute removal 2022-02-28 00:02:11 -05:00
intrinsic.rs rustc_target: Remove some redundant target properties 2022-06-18 01:09:20 +03:00
lib.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
llvm_util.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
mono_item.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
type_.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
type_of.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
va_arg.rs Introduce Bx::switch_to_block 2022-02-24 12:18:21 +01:00
value.rs