DWARF_PRODUCER_SET_ISA(3)
πΈ NAME πΈ
Okay bestie, welcome to DWARF_PRODUCER_SET_ISA(3) β this one lives in the Library Functions Manual π
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 β¨
So like, dwarf_producer_set_isa() sets the instruction set architecture for a DWARF producer instance. That's the whole vibe π
The argument dbg should reference a DWARF producer instance allocated using one of the functions dwarf_producer_init(3) or dwarf_producer_init_b(3) β no random dbg, bestie, it's gotta come from one of those π
The argument isa specifies the desired instruction set architecture. Legal values for this argument are those defined by the enum Dwarf_ISA enumeration defined in the header file <libdwarf.h> π
If the argument err is not NULL, it will be used to store error information in case of an error. So if something goes sideways, err is where the tea gets spilled π
π 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 argument err π
π COMPATIBILITY π
The dwarf_producer_set_isa() function is a local extension. That's the note, periodt π«Ά
π ERRORS π
The dwarf_producer_set_isa() function can fail with:
[DW_DLE_ARGUMENT]β The argumentdbgwasNULL.[DW_DLE_ARGUMENT]β The argumentisawas invalid.
π SEE ALSO π
dwarf(3), dwarf_producer_init(3), dwarf_producer_init_b(3) π
xoxo, Debian π September 29, 2011 πΈ DWARF_PRODUCER_SET_ISA(3)
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: libdwarf 15.0.0
- Copyright (c) 2011 Joseph Koshy
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms