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

[Bug default/25058] abigail does not handle subprogram DIEs with DW_AT_ranges instead of DW_AT_low_pc



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

--- Comment #8 from dodji at seketeli dot org ---
"simark at simark dot ca" <sourceware-bugzilla@sourceware.org> a écrit:

> Just to clarify: by looking up the ELF symbol associated to the low pc of the
> _first_ range may not be sufficient, as it could give you the wrong ELF symbol.

[...]

Right, I think we should get the first address that corresponds to a
function symbol that is defined and publicly exported.

I initially wrote a patch that was just taking the first address of the
range referred to by DW_AT_ranges, and then I read your comment
addressing this issue and I updated the patch to make sure the address
we are getting (from the range) is for a publicly exported function
symbol.

Thanks for the discussion.

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