|
NAMEdwarf_dealloc ,
dwarf_fde_cie_list_dealloc ,
dwarf_funcs_dealloc ,
dwarf_globals_dealloc ,
dwarf_pubtypes_dealloc ,
dwarf_ranges_dealloc ,
dwarf_srclines_dealloc ,
dwarf_types_dealloc ,
dwarf_vars_dealloc ,
dwarf_weaks_dealloc —
release resources
LIBRARYDWARF Access Library (libdwarf, -ldwarf)SYNOPSIS#include <libdwarf.h>
void
void
void
void
void
void
void
void
void
DESCRIPTIONThe functiondwarf_dealloc () is used by applications to
indicate that memory areas returned by DWARF Access Library
(libdwarf, -ldwarf) may be safely disposed off. Due to the way memory
is managed in the current implementation, the use of
dwarf_dealloc () is only necessary for a small set of
DWARF types.
Argument dbg should reference a valid debugging context allocated using dwarf_init(3). Argument ptr should point to an object or memory area obtained by a prior call to a DWARF(3) function. Argument type indicates the type of object being deallocated. The indicated type must match that of the object being passed in argument ptr. Valid values for the type argument are:
Calls to The functions
See dwarf(3) for more information about the memory management scheme in this implementation of the DWARF(3) API. RETURN VALUESFunctionsdwarf_dealloc (),
dwarf_fde_cie_list_dealloc (),
dwarf_funcs_dealloc (),
dwarf_globals_dealloc (),
dwarf_pubtypes_dealloc (),
dwarf_ranges_dealloc (),
dwarf_srclines_dealloc (),
dwarf_types_dealloc (),
dwarf_vars_dealloc () and
dwarf_weaks_dealloc () have no return value.
SEE ALSOdwarf(3), dwarf_child(3), dwarf_expand_frame_instructions(3), dwarf_get_abbrev(3), dwarf_offdie(3), dwarf_siblingof(3)
Visit the GSP FreeBSD Man Page Interface. |