Functions

fn fpRegNum(reg_context: RegisterContext) u8

No documentation provided.

fn getRegDefaultValue(reg_number: u8, context: *std.dwarf.UnwindContext, out: []u8) !void

Returns the ABI-defined default value this register has in the unwinding table …

Returns the ABI-defined default value this register has in the unwinding table before running any of the CIE instructions. The DWARF spec defines these as having the .undefined rule by default, but allows ABI authors to override that.

fn ipRegNum() u8

No documentation provided.

fn regBytes(thread_context_ptr: anytype, reg_number: u8, reg_context: ?RegisterContext) AbiError!RegBytesReturnType(@TypeOf(thread_context_ptr))

Returns a slice containing the backing storage for reg_number.

Returns a slice containing the backing storage for reg_number.

reg_context describes in what context the register number is used, as it can have different meanings depending on the DWARF container. It is only required when getting the stack or frame pointer register on some architectures.

fn regValueNative(comptime T: type, thread_context_ptr: anytype, reg_number: u8, reg_context: ?RegisterContext) !RegValueReturnType(@TypeOf(thread_context_ptr), T)

Returns a pointer to a register stored in a ThreadContext, preserving the pointe…

Returns a pointer to a register stored in a ThreadContext, preserving the pointer attributes of the context.

fn spRegNum(reg_context: RegisterContext) u8

No documentation provided.

inline fn stripInstructionPtrAuthCode(ptr: usize) usize

Some platforms use pointer authentication - the upper bits of instruction pointe…

Some platforms use pointer authentication - the upper bits of instruction pointers contain a signature. This function clears these signature bits to make the pointer usable.

fn supportsUnwinding(target: std.Target) bool

No documentation provided.

Error Sets