[DynInst_API:] [dyninst/dyninst] 5835e2: Remove DWARFisms from Symtab::Module (#1575)


Date: Thu, 12 Oct 2023 13:07:28 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 5835e2: Remove DWARFisms from Symtab::Module (#1575)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 5835e29f6b303d03229a49b8a6469202912e6f3a
      https://github.com/dyninst/dyninst/commit/5835e29f6b303d03229a49b8a6469202912e6f3a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

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

  Log Message:
  -----------
  Remove DWARFisms from Symtab::Module (#1575)

* Remove compilation directory from Module

This is a concept specific to DWARF. These functions are not documented.

* Remove DWARFisms from Symtab::Module

There is no need to store the CU DIE from which a Module instance is
derived. The address of the CU can be used to reconstitute the
entry in the .debug_info section using dwarf_addrdie.

Because Module.h is part of the public API for Dyninst, this also
removes the transitive dependency on libdw.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 5835e2: Remove DWARFisms from Symtab::Module (#1575), Tim Haines <=