11 writes to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (8)
364
context.
Sp
+= 16u * (uint)(curCode & 0x1f);
384
context.
Sp
+= 16u * ((curCode & 7u) << 8);
385
context.
Sp
+= 16u * nextCode;
455
context.
Sp
+= 16u * (uint)((nextCode1 << 16) | (nextCode2 << 8) | nextCode3);
469
context.
Sp
= context.Fp;
491
context.
Sp
= context.Fp - 8u * ((uint)((nextCode << 8) | nextCode1));
591
context.
Sp
= _target.Read<ulong>(startingSp + 0);
609
context.
Sp
= _target.Read<ulong>(sourceAddress);
Contracts\StackWalk\Context\RISCV64Context.cs (3)
48
set =>
Sp
= value.Value;
73
if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) {
Sp
= value.Value; return true; }
154
case 2:
Sp
= value.Value; return true;
8 references to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (5)
54
ulong startingSp = context.
Sp
;
71
if (context.Pc == 0 || (startingPc == context.Pc && startingSp == context.
Sp
))
410
SetRegisterFromOffset(ref context, regNum, context.
Sp
+ offset);
573
ulong startingSp = context.
Sp
;
608
sourceAddress = startingSp + (uint)Marshal.OffsetOf<RISCV64Context>(nameof(RISCV64Context.
Sp
));
Contracts\StackWalk\Context\RISCV64Context.cs (3)
47
readonly get => new(
Sp
);
113
if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { value = new TargetNUInt(
Sp
); return true; }
194
case 2: value = new TargetNUInt(
Sp
); return true;