> warning: .debug_info: DIE 0xb: in "compile_unit" attribute "name" has > value of unexpected type "identifier". > > Looking into values.cc, that's probably related to this: > > unsigned int expected = expected_value_space > (dwarf_whatattr (thisattr ()), 0); // XXX need tag!
Correct. DW_AT_name is actually the sole case (so far anyway) that cares about the tag. But it is one that matters for the writer/compression critical path, because we have to distinguish file names from other strings for the debugedit-style directory rewriting. So we'll need to make this right soon enough. Oh, turns out it was real easy. There it is. > I tried to trick it by using (*reference()).tag() instead of the 0, but > that just seems to throw an exception "no reference value" > (DWARF_E_NO_REFERENCE). I didn't dig in that further. Yeah, don't dig. ;-) Refs are the main can of worms not yet addressed. Thanks, Roland _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
