[DynInst_API:] [dyninst/dyninst] fa4cd6: Fix line information parsing for CUs with no aranges


Date: Fri, 13 Oct 2023 12:59:17 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] fa4cd6: Fix line information parsing for CUs with no aranges
  Branch: refs/heads/thaines/line_maps_no_ranges
  Home:   https://github.com/dyninst/dyninst
  Commit: fa4cd6bbb4c1a0760fd8312afb5c9865f4c4079c
      https://github.com/dyninst/dyninst/commit/fa4cd6bbb4c1a0760fd8312afb5c9865f4c4079c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M dwarf/h/dwarf_cu_info.h
    M symtabAPI/src/Object-elf.C

  Log Message:
  -----------
  Fix line information parsing for CUs with no aranges

As of libdw 0.189, `dwarf_addrdie` assumes the presence of
.debug_aranges. For compilers that do not emit one, or emit an invalid
one (e.g., gtpin binaries), then manually search through all of the CUs
to find a match.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] fa4cd6: Fix line information parsing for CUs with no aranges, Tim Haines <=