Uh oh!
There was an error while loading. Please reload this page.
rustc_codegen_ssa: introduce MIR VarDebugInfo, but only for codegen. - #65718
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b2e82f6 to
82e659bCompare
This comment has been minimized.
This comment has been minimized.
82e659b to
317e35aCompareeddyb
commented
Oct 24, 2019
As per #56231 (comment):
|
This comment has been minimized.
This comment has been minimized.
317e35a to
2994186Compareeddyb
commented
Oct 29, 2019
Uh oh!
There was an error while loading. Please reload this page.
| pub fn debug_declare_locals(&self, bx: &mut Bx) { | ||
| let tcx = self.cx.tcx(); | ||
| /// Apply debuginfo and/or name, after creating the `alloca` for a local, |
nikomatsakis
commented
Oct 29, 2019
@bors r+ |
bors
commented
Oct 29, 2019
📌 Commit 2994186 has been approved by |
nikomatsakis
commented
Oct 29, 2019
eddyb
commented
Oct 30, 2019
bors
commented
Oct 30, 2019
📌 Commit 2994186 has been approved by |
bors
commented
Oct 31, 2019
rustc_codegen_ssa: introduce MIR VarDebugInfo, but only for codegen. These are all the codegen changes necessary for #56231. The refactors were performed locally to codegen, and in several steps, to ease reviewing and avoid introducing changes in behavior (as I'm not sure our debuginfo tests cover enough). r? @michaelwoerister cc @nagisa@rkruppe@oli-obk
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Weird, why does wasm get no temporaries here? Are we more aggressive somehow? EDIT: more exactly, what's happening here is that on all targets
I can trivially adjust the test so both forms are allowed, but I'm suspicious of the behavior. |
alexcrichton
commented
Oct 31, 2019
@eddyb this looks simd related and wasm-specific so it's likely related to this configuration option where simd values are passed by-value in wasm and not by-reference, because wasm has entirely different validation/register rules than traditional elf executables. Perhaps it's safe to just ignore the test on wasm? |
tlively
commented
Oct 31, 2019
In one of my recent PRs I generalized one of the SIMD tests by replacing the |
eddyb
commented
Oct 31, 2019
@alexcrichton Thanks, that definitely explains it! @tlively I'll use |
2994186 to
60a2266Compareeddyb
commented
Oct 31, 2019
@bors r=nikomatsakis |
bors
commented
Oct 31, 2019
📌 Commit 60a2266 has been approved by |
bors
commented
Nov 1, 2019
rustc_codegen_ssa: introduce MIR VarDebugInfo, but only for codegen. These are all the codegen changes necessary for #56231. The refactors were performed locally to codegen, and in several steps, to ease reviewing and avoid introducing changes in behavior (as I'm not sure our debuginfo tests cover enough). r? @michaelwoerister cc @nagisa@rkruppe@oli-obk
bors
commented
Nov 1, 2019
☀️ Test successful - checks-azure |
These are all the codegen changes necessary for #56231.
The refactors were performed locally to codegen, and in several steps, to ease reviewing and avoid introducing changes in behavior (as I'm not sure our debuginfo tests cover enough).
r? @michaelwoerister cc @nagisa@rkruppe@oli-obk