[DynInst_API:] [dyninst/dyninst] 36164b: Clean up name caching in MachRegister


Date: Mon, 30 Oct 2023 12:36:46 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 36164b: Clean up name caching in MachRegister
  Branch: refs/heads/thaines/machregister_fix_names
  Home:   https://github.com/dyninst/dyninst
  Commit: 36164b21eaaf8a9db8b3e8fe073646f315a84c06
      https://github.com/dyninst/dyninst/commit/36164b21eaaf8a9db8b3e8fe073646f315a84c06
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M common/h/registers/MachRegister.h
    M common/src/registers/MachRegister.C

  Log Message:
  -----------
  Clean up name caching in MachRegister

This just needs to be a file-scope static. It also doesn't need to be
allocated on the heap or be an ordered container.


  Commit: 0e920ecdf3ae34ae7c1523c982ce0e58dc428255
      https://github.com/dyninst/dyninst/commit/0e920ecdf3ae34ae7c1523c982ce0e58dc428255
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M instructionAPI/src/ArchSpecificFormatters.C

  Log Message:
  -----------
  Fix broken transient include


  Commit: 73b1fa1cc82697a3f78d9094cd796fccfcbe3b83
      https://github.com/dyninst/dyninst/commit/73b1fa1cc82697a3f78d9094cd796fccfcbe3b83
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M common/h/registers/MachRegister.h
    M common/src/registers/MachRegister.C

  Log Message:
  -----------
  Have 'name' return ref to const

No need to make a copy.


Compare: https://github.com/dyninst/dyninst/compare/36164b21eaaf%5E...73b1fa1cc826
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 36164b: Clean up name caching in MachRegister, Tim Haines <=