[DynInst_API:] [dyninst/dyninst] d10bc5: Fixing calling `dwarf_getabbrevcode` and refactori...


Date: Fri, 28 May 2021 13:00:44 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] d10bc5: Fixing calling `dwarf_getabbrevcode` and refactori...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: d10bc5cae5649a04901e04b688973dbaa9a31066
      https://github.com/dyninst/dyninst/commit/d10bc5cae5649a04901e04b688973dbaa9a31066
  Author: Xiaozhu Meng <mxz297@xxxxxxxxx>
  Date:   2021-05-28 (Fri, 28 May 2021)

  Changed paths:
    M common/src/debug_common.C
    M common/src/debug_common.h
    M symtabAPI/src/dwarfWalker.C

  Log Message:
  -----------
  Fixing calling `dwarf_getabbrevcode` and refactoring debug logging in common (#1037)

* 1. Fix segfault in dwarf_getabbrevcode. Do not call dwarf_getabbrevcode when the input is DWARF_END_ABBREV
2. Refactor common deubg logging to avoid evaluating logging arguments when logging is not enabled

* Remove call to dwarf_getabbrevcode().

Co-authored-by: Sasha Nicolas <sasha@xxxxxxxxxxx>


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] d10bc5: Fixing calling `dwarf_getabbrevcode` and refactori..., noreply <=