11 writes to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (8)
368context.Sp += 16u * (uint)(curCode & 0x1f); 388context.Sp += 16u * ((curCode & 7u) << 8); 389context.Sp += 16u * nextCode; 459context.Sp += 16u * (uint)((nextCode1 << 16) | (nextCode2 << 8) | nextCode3); 473context.Sp = context.Fp; 495context.Sp = context.Fp - 8u * ((uint)((nextCode << 8) | nextCode1)); 595context.Sp = _target.Read<ulong>(startingSp + 0); 613context.Sp = _target.Read<ulong>(sourceAddress);
Contracts\StackWalk\Context\RISCV64Context.cs (3)
50set => Sp = value.Value; 76if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { Sp = value.Value; return true; } 157case 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)) 414SetRegisterFromOffset(ref context, regNum, context.Sp + offset); 577ulong startingSp = context.Sp; 612sourceAddress = startingSp + (uint)Marshal.OffsetOf<RISCV64Context>(nameof(RISCV64Context.Sp));
Contracts\StackWalk\Context\RISCV64Context.cs (3)
49readonly get => new(Sp); 116if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { value = new TargetNUInt(Sp); return true; } 197case 2: value = new TargetNUInt(Sp); return true;