|
NAMEdwarf_add_expr_addr ,
dwarf_add_expr_addr_b —
add a DW_OP_addr location expression
LIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h>
Dwarf_Unsigned
Dwarf_Unsigned
DESCRIPTIONFunctiondwarf_add_expr_addr_b () adds a
DW_OP_addr location expression to the location
expression descriptor referenced by argument expr.
Argument expr should reference a location expression descriptor allocated using the function dwarf_new_expr(3). Argument address specifies the operand, a relocatable address value. Argument sym_index specifies the ELF symbol index of the symbol to be used for relocation. If argument err is not NULL, it will be used to store error information in case of an error. Function RETURN VALUESOn success, these functions return the size in bytes of the location expression byte stream generated. In case of an error, these functions returnDW_DLV_NOCOUNT and set the argument
err.
ERRORSThese functions can fail with:
SEE ALSOdwarf(3), dwarf_add_AT_location_expr(3), dwarf_add_expr_gen(3), dwarf_expr_current_offset(3), dwarf_expr_into_block(3), dwarf_new_expr(3)
Visit the GSP FreeBSD Man Page Interface. |