missing #include <dwarf.h> in libdw.h?

Bill Williams bill@cs.wisc.edu
Tue Oct 3 19:30:00 GMT 2017


Hi all,

libdw.h uses the DW_CIE_ID_64 define from dwarf.h in a macro definition, but does not itself include dwarf.h. This makes the libdw.h header not self-contained if and only if your code uses the dwarf_cfi_cie_p macro. Is this behavior by design, or a bug?

--bw



More information about the Elfutils-devel mailing list