DWARF_START_MACRO_FILE(3)
β¨ NAME β¨
okay bestie, this is DWARF_START_MACRO_FILE(3) from the Library Functions Manual β and the vibe is: dwarf_start_macro_file β mark the start of a source file inclusion. Periodt. π
π LIBRARY π
The DWARF Access Library (libdwarf, -ldwarf) is the library here, bestie. π«Ά
π SYNOPSIS π
#include <libdwarf.h>
int
dwarf_start_macro_file(Dwarf_P_Debug dbg, Dwarf_Unsigned lineno,
Dwarf_Unsigned fileindex, Dwarf_Error *err);
π¦ DESCRIPTION π¦
Function dwarf_start_macro_file() marks the start of a new source file inclusion. Slay. π
- Argument
dbgshould reference a DWARF producer instance allocated usingdwarf_producer_init(3)ordwarf_producer_init_b(3). - Argument
linenospecifies the line number of the source line where the source file inclusion occurs. A value of zero is used to indicate the file for the compilation unit source itself. π - Argument
fileindexspecifies the index of the source file that is being included. Valid source file indices are those returned bydwarf_add_file_decl(3). - If argument
erris notNULL, it will be used to store error information in case of an error. π«Ά
β RETURN VALUES β
On success, function dwarf_start_macro_file() returns DW_DLV_OK. In case of an error, function dwarf_start_macro_file() returns DW_DLV_ERROR and sets the argument err. No cap. π―
π ERRORS π
Function dwarf_start_macro_file() can fail with:
[DW_DLE_ARGUMENT]β ArgumentdbgwasNULL.[DW_DLE_MEMORY]β An out of memory condition was encountered during the execution of the function.
πΈ SEE ALSO πΈ
dwarf(3)dwarf_add_file_decl(3)dwarf_def_macro(3)dwarf_end_macro_file(3)dwarf_producer_init(3)dwarf_producer_init_b(3)dwarf_undef_macro(3)dwarf_vendor_ext(3)
xoxo π this page is brought to you by Debian, dated September 25, 2011, and itβs the DWARF_START_MACRO_FILE(3) manual page. bye bestie! π
π¦ 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