FreeBSD Manual Pages
DWARF_PRODUCER_SET_... FreeBSD Library Functions Manual DWARF_PRODUCER_SET_... NAME dwarf_producer_set_isa -- specify the instruction set architecture for a DWARF producer instance LIBRARY DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS #include <libdwarf.h> int dwarf_producer_set_isa(Dwarf_P_Debug dbg, enum Dwarf_ISA isa, Dwarf_Error *err); DESCRIPTION The function dwarf_producer_set_isa() sets the instruction set architec- ture for a DWARF producer instance. Argument dbg should reference a DWARF producer instance allocated using one of the functions dwarf_producer_init(3) or dwarf_producer_init_b(3). Argument isa specifies the desired instruction set architecture. Legal values for this argument are those defined by the enum Dwarf_ISA enumera- tion defined in the header file <libdwarf.h>. If the argument err is not NULL, it will be used to store error informa- tion in case of an error. RETURN VALUES On success, the function dwarf_producer_set_isa() returns DW_DLV_OK. In case of an error, this function returns DW_DLV_ERROR and sets the argu- ment err. COMPATIBILITY The dwarf_producer_set_isa() function is a local extension. ERRORS The dwarf_producer_set_isa() function can fail with: [DW_DLE_ARGUMENT] The argument dbg was NULL. [DW_DLE_ARGUMENT] The argument isa was invalid. SEE ALSO dwarf(3), dwarf_producer_init(3), dwarf_producer_init_b(3) FreeBSD 13.0 September 29, 2011 FreeBSD 13.0
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | COMPATIBILITY | ERRORS | SEE ALSO
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dwarf_producer_set_isa&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>