carta
dwarf_add_frame_cie(3)

dwarf_add_frame_cie3

Add a call frame common information entry to a dwarf producer instance

Usage

Dwarf_Unsigned

Library

library “libdwarf”

Overview

Function dwarf_add_frame_cie() adds a DWARF call frame common information entry (CIE) to a producer instance.

Argument dbg should reference a DWARF producer instance allocated using dwarf_producer_init(3) or dwarf_producer_init_b(3).

Argument augmenter should point to a NUL-terminated augmentation string for the common information entry.

Argument caf specifies the code alignment factor.

Argument daf specifies the data alignment factor.

Argument ra specifies the column number used for the return address register.

Argument initinst should point to a byte stream containing the initial instructions for the common information entry.

Argument initlen should hold the length in bytes of the byte stream pointed to by argument initinst.

If argument err is not NULL, it will be used to store error information in case of an error.

Return values

On success, function dwarf_add_frame_cie() returns the index value of the created common information entry. In case of an error, function dwarf_add_frame_cie() returns DW_DLV_NOCOUNT and sets the argument err.

Errors

Function dwarf_add_frame_cie() can fail with:

[DW_DLE_ARGUMENT]

Argument dbg was NULL.

[DW_DLE_MEMORY]

An out of memory condition was encountered during the execution of the function.

History

  • FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 12.1-RELEASE: the text shown here
  • FreeBSD 12.0-RELEASE to FreeBSD 11.0-RELEASE

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