[DynInst_API:] [dyninst/dyninst] 71027c: DwarfWalker: clean up interfaces for findDieName a...


Date: Wed, 17 Nov 2021 16:51:39 -0800
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 71027c: DwarfWalker: clean up interfaces for findDieName a...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 71027cb36e9deb4291f316fb0a4c897ff2e321dd
      https://github.com/dyninst/dyninst/commit/71027cb36e9deb4291f316fb0a4c897ff2e321dd
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

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

  Log Message:
  -----------
  DwarfWalker: clean up interfaces for findDieName and findName (#1154)

findDieName always returned 'true', so any checks for its return value
were meaningless. It was also not clear that 'findName' would modify its
argument. The new interface removes that surprise by making the name the
return value.

Co-authored-by: Tim Haines <thaines@xxxxxxxxxxx>


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 71027c: DwarfWalker: clean up interfaces for findDieName a..., noreply <=