Context
Expressions can be evaluated in different contexts, each requiring its own set of inputs. Callers should specify all the fields relevant to their context. If a field is required by the expression and it isn't in the context, error.IncompleteExpressionContext is returned.
Fields of this type
Fields
- format:std.dwarf.Format
- The dwarf format of the section this expression is in
- memory_accessor:?*std.debug.MemoryAccessor
- If specified, any addresses will pass through before being accessed
- compile_unit:?*const std.debug.Dwarf.CompileUnit
- The compilation unit this expression relates to, if any
- object_address:?*const anyopaque
- When evaluating a user-presented expression, this is the address of the object being evaluated
- debug_addr:?[]const u8
- .debug_addr section
- thread_context:?*std.debug.ThreadContext
- Thread context
- reg_context:?abi.RegisterContext
- = null
- cfa:?usize
- Call frame address, if in a CFI context
- entry_value_context:bool
- This expression is a sub-expression from an OP.entry_value instruction