runtime icon indicating copy to clipboard operation
runtime copied to clipboard

We can encapsulate the creation of siVarLoc in case a change in the way of reporting variables

Open BrianBohe opened this issue 7 years ago • 3 comments

We had this code https://github.com/dotnet/coreclr/blob/master/src/jit/codegencommon.cpp#L10366-L10525 that actually is in charge of filling the "siVarLoc" structure depending of the case of variable type and if it's in a register, the stack or both.

I believe it can be moved to Compiler.h in order to make "genSetScopeInfo" a little more clearer/shorter. Also it would be easier to change the way one is reporting the debugger info for variables if it is something desired (or that could change).

I have open this PR for this: https://github.com/dotnet/coreclr/pull/22472

BrianBohe avatar Feb 07 '19 21:02 BrianBohe

@BruceForstall @sandreenko @CarolEidt

BrianBohe avatar Feb 07 '19 21:02 BrianBohe

@dotnet/jit-contrib

sandreenko avatar Feb 07 '19 21:02 sandreenko

The PR has been merged so I would say the issue has been solved.

BrianBohe avatar Feb 20 '19 01:02 BrianBohe