[DynInst_API:] [dyninst/dyninst] 6b0825: Move ARM-specific functions out of MachRegister (#...


Date: Wed, 12 Feb 2025 10:30:50 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 6b0825: Move ARM-specific functions out of MachRegister (#...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 6b08252e5769f284d9b232c4f450dca04989e529
      https://github.com/dyninst/dyninst/commit/6b08252e5769f284d9b232c4f450dca04989e529
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M common/h/registers/MachRegister.h
    M common/src/registers/MachRegister.C
    M dwarf/src/dwarfFrameParser.C
    M proccontrol/src/arm_process.C

  Log Message:
  -----------
  Move ARM-specific functions out of MachRegister (#1894)

* Move getArchRegFromAbstractReg into dwarfFrameParser

This is the only place it's used. This change also

1) changes the name
2) does the architecture check at runtime instead of compile time
3) doesn't crash for non-aarch64 platforms

* Move getArchReg

It's only ever used in arm_process.C.



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] 6b0825: Move ARM-specific functions out of MachRegister (#..., Tim Haines <=