[DynInst_API:] [dyninst/dyninst] a541ed: Add 'std::string const& getName() const' to BPatch...


Date: Fri, 14 Mar 2025 09:39:01 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] a541ed: Add 'std::string const& getName() const' to BPatch...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: a541edaf6110cd72aea28a1c7606e43e7af349e8
      https://github.com/dyninst/dyninst/commit/a541edaf6110cd72aea28a1c7606e43e7af349e8
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M dyninstAPI/h/BPatch_module.h
    M dyninstAPI/src/BPatch_module.C

  Log Message:
  -----------
  Add 'std::string const& getName() const' to BPatch_module (#1923)

* Add 'std::string const& getName() const' to BPatch_module

The old name interfaces are clumsy to use.

* Return by value

This is cheaper than using a function-local static to return an empty
string (e.g., `static std::string const empty_string{}'` since that would
have to be thread-safe by requirement of the C++11 standard.



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] a541ed: Add 'std::string const& getName() const' to BPatch..., Tim Haines <=