[DynInst_API:] [dyninst/dyninst] e3ea4f: Make Dyninst::Register constructors noexcept


Date: Tue, 03 Feb 2026 09:59:36 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e3ea4f: Make Dyninst::Register constructors noexcept
  Branch: refs/heads/thaines/register_ctor_noexcept
  Home:   https://github.com/dyninst/dyninst
  Commit: e3ea4f11fffd378eaa4e748fd665c270aa42ec6b
      https://github.com/dyninst/dyninst/commit/e3ea4f11fffd378eaa4e748fd665c270aa42ec6b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M common/src/dyn_register.h

  Log Message:
  -----------
  Make Dyninst::Register constructors noexcept

For std::vector<T>::emplace_back, the standard notes

  If the move constructor of T is not noexcept and is not CopyInsertable
  into *this, vector will use the throwing move constructor.

gcc-15 and newer warn via '-Werror=noexcept' when the move_if_noexcept
condition fails and recommends making the ctor noexcept. This is not a
requirement, but the CI jobs build with -Werror.



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] e3ea4f: Make Dyninst::Register constructors noexcept, Tim Haines <=