The implementation of dwarf_entrypc already checks for _lowpc, so it's
redundant for us to attempt a _lowpc call too.
* dwflpp.cxx (dwflpp::function_entrypc): Remove XXX comment.
(dwflpp::die_entrypc): Don't bother with _lowpc if _entrypc fails
{
assert (function);
return (dwarf_entrypc (function, addr) == 0);
- // XXX: see also _lowpc ?
}
lookup_method = "dwarf_entrypc";
rc = dwarf_entrypc (die, addr);
- if (rc)
- {
- lookup_method = "dwarf_lowpc";
- rc = dwarf_lowpc (die, addr);
- }
-
if (rc)
{
lookup_method = "dwarf_ranges";