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