rust/compiler/rustc_codegen_ssa/src/traits
bors 0da6d42f29 Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obk
rustc_mir: track inlined callees in SourceScopeData.

We now record which MIR scopes are the roots of *other* (inlined) functions's scope trees, which allows us to generate the correct debuginfo in codegen, similar to what LLVM inlining generates.
This PR makes the `ui` test `backtrace-debuginfo` pass, if the MIR inliner is turned on by default.

Also, `#[track_caller]` is now correct in the face of MIR inlining (cc `@anp).`

Fixes #76997.

r? `@rust-lang/wg-mir-opt`
2020-10-26 18:50:22 +00:00
..
abi.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
asm.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
backend.rs rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa. 2020-10-21 04:43:57 +03:00
builder.rs Make set_span take mut self 2020-10-17 13:28:58 +02:00
consts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
coverageinfo.rs Make codegen coverage_context optional, and check 2020-10-23 12:00:30 -07:00
debuginfo.rs rustc_codegen_llvm: add support for inlined function debuginfo. 2020-10-21 04:43:57 +03:00
declare.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
intrinsic.rs Prevent miscompilation in trivial loop {} 2020-10-15 09:42:06 -04:00
misc.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
mod.rs rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa. 2020-10-21 04:43:57 +03:00
statics.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
type_.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
write.rs Add -Z combine_cgu flag 2020-09-09 17:32:23 +10:00