[DynInst_API:] [dyninst/dyninst] 0c3eb9: Separate debug info file issue fixed.


Date: Mon, 24 Sep 2018 16:43:04 -0700
From: Sasha Nicolas <sasha@xxxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 0c3eb9: Separate debug info file issue fixed.
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 0c3eb945180d2643858a4b303343356a10f07075
      https://github.com/dyninst/dyninst/commit/0c3eb945180d2643858a4b303343356a10f07075
  Author: Sasha Nicolas <sasha@xxxxxxxxxxx>
  Date:   2018-09-24 (Mon, 24 Sep 2018)

  Changed paths:
    M dwarf/h/dwarfFrameParser.h
    M dwarf/src/dwarfFrameParser.C
    M dwarf/src/dwarfHandle.C
    M dwarf/src/dwarfResult.C
    M stackwalk/src/dbginfo-stepper.C
    M symtabAPI/src/Function.C
    M symtabAPI/src/Object-elf.C

  Log Message:
  -----------
  Separate debug info file issue fixed.
A DwarfFrameParser object was not being created in the case of separate
debug info file, because libdw does not create Dwarf handles to files
that contain only .eh_frame section without .debug_*. This was causing
AST variable node to assert because the local variables did not get
location list, since .eh_frame reference was never saved for lookup.
The solution was to create a DwarfFrameParser saving not only a possible
Dwarf handle but also an Elf reference, since the .eh_frame section will
be in the main stripped binary, while the Dwarf handle will point to
the separate debug file.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 0c3eb9: Separate debug info file issue fixed., Sasha Nicolas <=