DoxigAlpha

writeRegvalType

Function parameters

Parameters

#
writer:anytype
register:anytype
offset:anytype

Expressions can be evaluated in different contexts, each requiring its own set of inputs.

Types

#
Context
Expressions can be evaluated in different contexts, each requiring its own set of inputs.

A stack machine that can decode and run DWARF expressions.

Functions

#
StackMachine
A stack machine that can decode and run DWARF expressions.

Error sets in this namespace

Error Sets

#

Source

Implementation

#
pub fn writeRegvalType(writer: anytype, register: anytype, offset: anytype) !void {
    if (options.call_frame_context) return error.InvalidCFAOpcode;
    try writer.writeByte(OP.regval_type);
    try leb.writeUleb128(writer, register);
    try leb.writeUleb128(writer, offset);
}