[DynInst_API:] [dyninst/dyninst] 356960: Fix line information parsing for CUs with no arang...


Date: Fri, 13 Oct 2023 16:15:29 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 356960: Fix line information parsing for CUs with no arang...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 356960f4a33ef2554964821d43ae220908d63a37
      https://github.com/dyninst/dyninst/commit/356960f4a33ef2554964821d43ae220908d63a37
  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 (#1581)

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] 356960: Fix line information parsing for CUs with no arang..., Tim Haines <=