dwarf_get_die_infotypes_flag(3)

dwarf_get_die_infotypes_flag3

Indicate the originating dwarf section for a die

Usage

#include <libdwarf.h>

Dwarf_Bool

dwarf_get_die_infotypes_flag(Dwarf_Die die);

Library

library “libdwarf”

Overview

Function dwarf_get_die_infotypes_flag() returns a flag indicating the originating DWARF section for the debugging information entry referenced by argument die.

Argument die should reference a valid debugging information entry descriptor.

Return values

Function dwarf_get_die_infotypes_flag() returns a non-zero value if argument die originates in the “.debug_info” section.

It returns zero if argument die originates in the “.debug_types” section.

Errors

Function dwarf_get_die_infotypes_flag() always succeeds.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 1 time.

  1. 11.0–12.0
  2. 12.1–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.