[DynInst_API:] [dyninst/dyninst] 094c56: Refactor dwarfWalker::findConst (#1160)


Date: Mon, 22 Nov 2021 11:30:05 -0800
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 094c56: Refactor dwarfWalker::findConst (#1160)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 094c567a61cb637338aeeff136cdcff115448040
      https://github.com/dyninst/dyninst/commit/094c567a61cb637338aeeff136cdcff115448040
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

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

  Log Message:
  -----------
  Refactor dwarfWalker::findConst (#1160)

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] 094c56: Refactor dwarfWalker::findConst (#1160), noreply <=