[DynInst_API:] [dyninst/dyninst] e76ee2: Refactor dwarfWalker::findConst


Date: Sun, 21 Nov 2021 21:14:04 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e76ee2: Refactor dwarfWalker::findConst
  Branch: refs/heads/thaines/cleanup_dwarfWalker_findValue
  Home:   https://github.com/dyninst/dyninst
  Commit: e76ee2feaa2d7c62cbfbb5762170cf04dccc0627
      https://github.com/dyninst/dyninst/commit/e76ee2feaa2d7c62cbfbb5762170cf04dccc0627
  Author: Tim Haines <thaines@xxxxxxxxxxx>
  Date:   2021-11-21 (Sun, 21 Nov 2021)

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

  Log Message:
  -----------
  Refactor dwarfWalker::findConst

This function always returns 'true' and few callsites checked the bool
out variable. Using an optional here makes everything simpler. Logging
has been substantially improved for better tracing.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] e76ee2: Refactor dwarfWalker::findConst, Tim Haines <=