7 references to WasmContext
Microsoft.Diagnostics.DataContractReader.Contracts (7)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (1)
53RuntimeInfoArchitecture.Wasm => new ContextHolder<WasmContext>(),
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
369ContextHolder<WasmContext> contextHolder => new WasmFrameHandler(_target, contextHolder), 579RuntimeInfoArchitecture.Wasm => WasmContext.InterpreterWalkFramePointerRegister,
Contracts\StackWalk\FrameHandling\WasmFrameHandler.cs (4)
24internal sealed class WasmFrameHandler(Target target, ContextHolder<WasmContext> contextHolder) 27private readonly ContextHolder<WasmContext> _holder = contextHolder; 41if (!_holder.Context.TrySetRegister(WasmContext.InterpreterWalkFramePointerRegister, new TargetNUInt(next.Address.Value))) 42throw new InvalidOperationException($"Failed to set WASM interpreter frame-pointer register '{WasmContext.InterpreterWalkFramePointerRegister}'.");