Function relocateContext [src]

Updates any internal pointers in the context to reflect its current location

Prototype

pub fn relocateContext(context: *ThreadContext) void

Parameters

context: *ThreadContext

Source

pub fn relocateContext(context: *ThreadContext) void { return switch (native_os) { .macos => { context.mcontext = &context.__mcontext_data; }, else => {}, }; }