mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
0da6d42f29
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` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |