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


Date: Wed, 17 Nov 2021 10:19:13 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] b25335: DwarfWalker: clean up interfaces for findDieName a...
  Branch: refs/heads/thaines/cleanup_DwarfWalker_die_name
  Home:   https://github.com/dyninst/dyninst
  Commit: b25335fa4ebdc6dea80f52c0b5fa79d6a9ec164e
      https://github.com/dyninst/dyninst/commit/b25335fa4ebdc6dea80f52c0b5fa79d6a9ec164e
  Author: Tim Haines <thaines@xxxxxxxxxxx>
  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

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.


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