Auto merge of #88629 - wesleywiser:fix_debuginfo_for_scalarpair_params, r=oli-obk
Fix debuginfo for parameters passed via the ScalarPair abi on Windows Mark all of these as locals so the debugger does not try to interpret them as being a pointer to the value. This extends the approach used in #81898. Fixes #88625
This commit is contained in:
commit
5fd6f3b16d
3 changed files with 112 additions and 15 deletions
|
@ -129,6 +129,7 @@ impl<'a, 'tcx, V: CodegenObject> LocalRef<'tcx, V> {
|
|||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#[instrument(level = "debug", skip(cx))]
|
||||
pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
||||
cx: &'a Bx::CodegenCx,
|
||||
instance: Instance<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue