DWARF_LNE_END_SEQUENCE(3)
π NAME π
okay bestie, welcome to the DWARF_LNE_END_SEQUENCE(3) page from the Library Functions Manual β and the name is literally the whole assignment: set the end of instruction sequence. periodt. β¨
π¦ LIBRARY π¦
This one lives in the DWARF Access Library β thatβs libdwarf, -ldwarf, no cap. π«Ά
πΈ SYNOPSIS πΈ
#include <libdwarf.h>
Dwarf_Unsigned
dwarf_lne_end_sequence(Dwarf_P_Debug dbg, Dwarf_Addr addr,
Dwarf_Error *err);
β¨ DESCRIPTION β¨
okay so dwarf_lne_end_sequence() sets the address that marks the end of a sequence of target machine instructions. itβs giving βclosing timeβ energy for an instruction sequence. π
Argument dbg should reference a DWARF producer instance allocated using dwarf_producer_init(3) or dwarf_producer_init_b(3). like, thatβs the required vibe. π
Argument addr specifies an address value that is the first byte after the end of an instruction sequence. very precise, very demure. π¦
If argument err is not NULL, it will be used to store error information in case of an error. bestie, thatβs your little error bucket. π
π₯ RETURN VALUES π₯
On success, dwarf_lne_end_sequence() returns DW_DLV_OK. slay. β
In case of an error, dwarf_lne_end_sequence() returns DW_DLV_NOCOUNT and sets the argument err. so if itβs not giving success, check err. π
π ERRORS π
Function dwarf_lne_end_sequence() can fail with:
[DW_DLE_ARGUMENT]β ArgumentdbgwasNULL.[DW_DLE_ARGUMENT]β The value in argumentaddroverlapped an existing line information entry.[DW_DLE_MEMORY]β An out of memory condition was encountered during the execution of the function.
π SEE ALSO π
go read these too, bestie, iykyk:
dwarf(3)dwarf_add_directory_decl(3)dwarf_add_file_decl(3)dwarf_add_line_entry(3)dwarf_lne_set_address(3)dwarf_producer_init(3)dwarf_producer_init_b(3)
π Debian, September 15, 2011, DWARF_LNE_END_SEQUENCE(3) β source/version + date, signed off with a bow. π
π¦ 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 Kai Wang
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms