Hi,
I was experimenting with creating a dwarf file from scrach using
dwarf_edit, but gut stuck when I was unable to figure out how to add an
attribute to a die. So is that a use case that we don't care about, or
are the bits here and I just fail to see them?
Snippet:
dwarf_edit tst;
dwarf_edit::debug_info_entry cudie (DW_TAG_compile_unit);
dwarf_edit::compile_unit u (cudie);
dwarf_edit::debug_info_entry x (DW_TAG_base_type);
x.attributes () [DW_AT_name] = /* now what ? */;
tst.compile_units ().push_back (u);
PM