[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/20369] Support DW_TAG_type_unit



https://sourceware.org/bugzilla/show_bug.cgi?id=20369

--- Comment #12 from dodji at redhat dot com ---
The main reason why I need to support the DW_TAG_type_unit specifically is that
elfutils doesn't provide a way to get the parent node of a given DIE.

So libabigail builds that relationship itself, where each DIE is identified by
its DIE offset. Because a DIE A coming from the .debug_info section, a DIE B
coming from the alternate debug insection and DIE C coming from the .type_units
section can all have the same offset even though they are different DIEs,
libabigail maintains three different "DIE -> parent DIE" hash tables; one for
.debug_info DIEs, one for alternate debug info DIE and one for the .type_units
DIEs.  Well, until now, we only had two, but now it's going to have three.

-- 
You are receiving this mail because:
You are on the CC list for the bug.