The call dwarf_siblingof() fails with DW_DLE_DIE_NO_CU_CONTEXT if called with a DIE cetated with dwarf_offdie() from an offset. The CU from the DIE is valid and should be used. The attached patch fixes this.
dwarf_siblingof()
DW_DLE_DIE_NO_CU_CONTEXT
dwarf_offdie()
Log in to post a comment.