11 writes to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (11)
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (8)
350context.Sp += 16u * (uint)(curCode & 0x1f); 370context.Sp += 16u * ((curCode & 7u) << 8); 371context.Sp += 16u * nextCode; 441context.Sp += 16u * (uint)((nextCode1 << 16) | (nextCode2 << 8) | nextCode3); 455context.Sp = context.Fp; 477context.Sp = context.Fp - 8u * ((uint)((nextCode << 8) | nextCode1)); 577context.Sp = _target.Read<ulong>(startingSp + 0); 601context.Sp = _target.Read<ulong>(sourceAddress);
Contracts\StackWalk\Context\LoongArch64Context.cs (3)
48set => Sp = value.Value; 74if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { Sp = value.Value; return true; } 157case 3: Sp = value.Value; return true;
8 references to Sp
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (5)
46ulong startingSp = context.Sp; 63if (context.Pc == 0 || (startingPc == context.Pc && startingSp == context.Sp)) 396SetRegisterFromOffset(ref context, regNum, context.Sp + offset); 559ulong startingSp = context.Sp; 600sourceAddress = startingSp + (uint)Marshal.OffsetOf<LoongArch64Context>(nameof(LoongArch64Context.Sp));
Contracts\StackWalk\Context\LoongArch64Context.cs (3)
47readonly get => new(Sp); 115if (name.Equals("sp", StringComparison.OrdinalIgnoreCase)) { value = new TargetNUInt(Sp); return true; } 197case 3: value = new TargetNUInt(Sp); return true;