DoxigAlpha

writeEntryValue

Function parameters

Parameters

#
writer:anytype
expression:[]const u8

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 writeEntryValue(writer: anytype, expression: []const u8) !void {
    try writer.writeByte(OP.entry_value);
    try leb.writeUleb128(writer, expression.len);
    try writer.writeAll(expression);
}