]> git.ipfire.org Git - thirdparty/elfutils.git/commit
dwarf_ranges: do not request base address attributes if not necessary
authorPetr Machata <pmachata@redhat.com>
Wed, 11 Feb 2015 21:11:46 +0000 (22:11 +0100)
committerPetr Machata <pmachata@redhat.com>
Wed, 11 Feb 2015 21:11:46 +0000 (22:11 +0100)
commitb4da85ded5de790aa2cddd6d725970945c97df89
tree8d17685190e1c497d2f24495e38821b084386671
parent6f5934c1afa8f34bfb8f86b191ded9af854e757f
dwarf_ranges: do not request base address attributes if not necessary

- Instead of bailing out at iteration start, we remember the
  base-address-selecting attributes were not seen, and then bail out
  later if no base address selection entry has been seen.

Signed-off-by: Petr Machata <pmachata@redhat.com>
libdw/ChangeLog
libdw/dwarf_ranges.c
tests/ChangeLog
tests/Makefile.am
tests/debug-ranges-no-lowpc.o.bz2 [new file with mode: 0644]
tests/debug-ranges-no-lowpc.s [new file with mode: 0644]
tests/dwarf-ranges.c [new file with mode: 0644]
tests/run-dwarf-ranges.sh [new file with mode: 0755]