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

--- Comment #8 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Milian Wolff from comment #7)
> hmm but in perfparser we have a workaround for missing aranges... I'll have
> to dig into this to see why it doesn't work here.

You also mention it is an issue with dwarf_getsrc_die in the subject. Which
would indicate that it is some other issue, because when you call
dwarf_getsrc_die you already would have found the DIE (by address). So maybe it
is something else in your case?

BTW. I do agree it would be nice if libdw handled missing debug_aranges. The
problem is simply that you cannot know the difference between missing and not
covered. Which means that for any address lookup that doesn't match an arange
you would have to do some fallback lookup, which could be expensive. So still
pondering how to handle this without penalizing debug files that do have
correct and complete aranges (maybe we could just handle the case where there
are just no  .debug_aranges at all, and only then make some fallback code kick
in?)

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

Reply via email to