[DynInst_API:] [dyninst/dyninst] fd4f36: Move Dyninst::Architecture into its own file


Date: Thu, 26 Oct 2023 10:47:46 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] fd4f36: Move Dyninst::Architecture into its own file
  Branch: refs/heads/thaines/refactor_dyn_regs
  Home:   https://github.com/dyninst/dyninst
  Commit: fd4f362f7d07a13806fa8ac5dca1d58a506ad350
      https://github.com/dyninst/dyninst/commit/fd4f362f7d07a13806fa8ac5dca1d58a506ad350
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/CMakeLists.txt
    A common/h/Architecture.h
    M common/h/dyn_regs.h
    M syscalls/generateSyscallInformation.py

  Log Message:
  -----------
  Move Dyninst::Architecture into its own file


  Commit: 68cffc76c5f29d45b5c19c424dd19c5cd6cf574e
      https://github.com/dyninst/dyninst/commit/68cffc76c5f29d45b5c19c424dd19c5cd6cf574e
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/CMakeLists.txt
    M common/h/dyn_regs.h
    A common/h/registers/MachRegister.h
    M common/src/dyn_regs.C
    A common/src/registers/MachRegister.C

  Log Message:
  -----------
  Move MachRegister into separate files


  Commit: a9b42c9df252caa9c8b6a71ba08584feb44891c2
      https://github.com/dyninst/dyninst/commit/a9b42c9df252caa9c8b6a71ba08584feb44891c2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

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

  Log Message:
  -----------
  Remove non-existent classes in MachRegister.h

These should have been removed by d42b65910 in 2021.


  Commit: 6f402bb55869980f7112706efd82dcb3200dab7c
      https://github.com/dyninst/dyninst/commit/6f402bb55869980f7112706efd82dcb3200dab7c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/src/dyn_regs.C

  Log Message:
  -----------
  Only define registers in dyn_regs.C


  Commit: 503c26325e4365bcc45c0dc58d7dda4d115319b3
      https://github.com/dyninst/dyninst/commit/503c26325e4365bcc45c0dc58d7dda4d115319b3
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/h/Architecture.h
    M common/h/dyn_regs.h
    M common/src/dyn_regs.C

  Log Message:
  -----------
  Move getArchAddressWidth into Architecture.h


  Commit: 2f860b5265b060185fff6f64b43523f1cc75d312
      https://github.com/dyninst/dyninst/commit/2f860b5265b060185fff6f64b43523f1cc75d312
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/h/MachSyscall.h
    M common/h/ProcReader.h
    M common/h/SymReader.h
    M common/h/VariableLocation.h
    M common/src/SyscallInformation.C
    M dataflowAPI/h/ABI.h
    M dataflowAPI/rose/semantics/SymEvalSemantics.C
    M dataflowAPI/src/ABI.C
    M dataflowAPI/src/AbslocInterface.C
    M dataflowAPI/src/ExpressionConversionVisitor.h
    M dataflowAPI/src/RegisterMap.C
    M dataflowAPI/src/RegisterMap.h
    M dataflowAPI/src/liveness.C
    M dataflowAPI/src/slicing.C
    M dataflowAPI/src/stackanalysis.C
    M dwarf/h/dwarfExprParser.h
    M dwarf/h/dwarfFrameParser.h
    M dwarf/h/dwarfHandle.h
    M dwarf/h/dwarfResult.h
    M dwarf/src/dwarfExprParser.C
    M dwarf/src/dwarfFrameParser.C
    M dyninstAPI/src/RegisterConversion-aarch64.C
    M dyninstAPI/src/RegisterConversion.h
    M dyninstAPI/src/StackMod/OffsetVector.h
    M dyninstAPI/src/StackMod/StackAccess.C
    M dyninstAPI/src/StackMod/StackAccess.h
    M dyninstAPI/src/StackMod/StackLocation.h
    M dyninstAPI/src/StackMod/TMap.C
    M dyninstAPI/src/codegen-x86.h
    M dyninstAPI/src/frameChecker.C
    M dyninstAPI/src/linux.C
    M dyninstAPI/src/variable.C
    M elf/h/Elf_X.h
    M instructionAPI/h/ArchSpecificFormatters.h
    M instructionAPI/h/Register.h
    M instructionAPI/h/Ternary.h
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.h
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.C
    M instructionAPI/src/AMDGPU/gfx940/InstructionDecoder-amdgpu-gfx940.C
    M instructionAPI/src/AMDGPU/gfx940/InstructionDecoder-amdgpu-gfx940.h
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/InstructionDecoder-aarch64.C
    M instructionAPI/src/InstructionDecoder-aarch64.h
    M instructionAPI/src/InstructionDecoder-power.C
    M instructionAPI/src/InstructionDecoderImpl.h
    M instructionAPI/src/Register.C
    M parseAPI/h/InstructionSource.h
    M parseAPI/src/BoundFactCalculator.C
    M parseAPI/src/IndirectAnalyzer.C
    M parseAPI/src/JumpTableFormatPred.C
    M parseAPI/src/Parser.C
    M parseAPI/src/ThunkData.h
    M proccontrol/h/PCProcess.h
    M proccontrol/src/freebsd.C
    M proccontrol/src/handler.C
    M proccontrol/src/int_process.h
    M proccontrol/src/mmapalloc.C
    M proccontrol/src/x86_process.C
    M proccontrol/src/x86_process.h
    M stackwalk/h/basetypes.h
    M stackwalk/h/local_var.h
    M stackwalk/h/procstate.h
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/linux-aarch64-swk.C
    M stackwalk/src/linuxbsd-x86-swk.C
    M stackwalk/src/walker.C
    M stackwalk/src/x86-swk.C
    M symtabAPI/src/Function.C
    M symtabAPI/src/Variable.C

  Log Message:
  -----------
  Use new Architecture.h and registers/MachRegister.h headers everywhere

Also fix broken transient includes.


  Commit: bf1cf3df1730d309d5a0bba56534a922d2e83550
      https://github.com/dyninst/dyninst/commit/bf1cf3df1730d309d5a0bba56534a922d2e83550
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/src/arch-x86.h
    M dataflowAPI/h/stackanalysis.h
    M dyninstAPI/src/StackMod/TMap.h
    M dyninstAPI/src/linux.C
    M dyninstAPI/src/variable.C
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.h
    M instructionAPI/src/Ternary.C
    M parseAPI/src/IndirectAnalyzer.C
    M proccontrol/src/windows_handler.C
    M stackwalk/src/linux-ppc-swk.C
    M stackwalk/src/linux-swk.C
    M symtabAPI/h/Variable.h

  Log Message:
  -----------
  Remove unnecessary includes of 'dyn_regs.h'


  Commit: 14ea8613146ca6121d3cd2e6306d7e91d10cefd2
      https://github.com/dyninst/dyninst/commit/14ea8613146ca6121d3cd2e6306d7e91d10cefd2
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/CMakeLists.txt
    R common/h/AMDGPU/gfx908/amdgpu_gfx908_sys_regs.h
    R common/h/AMDGPU/gfx90a/amdgpu_gfx90a_sys_regs.h
    R common/h/AMDGPU/gfx940/amdgpu_gfx940_sys_regs.h
    R common/h/aarch64_sys_regs.h
    M common/h/dyn_regs.h
    A common/h/registers/AMDGPU/gfx908/amdgpu_gfx908_regs.h
    A common/h/registers/AMDGPU/gfx908/amdgpu_gfx908_sys_regs.h
    A common/h/registers/AMDGPU/gfx90a/amdgpu_gfx90a_regs.h
    A common/h/registers/AMDGPU/gfx90a/amdgpu_gfx90a_sys_regs.h
    A common/h/registers/AMDGPU/gfx940/amdgpu_gfx940_regs.h
    A common/h/registers/AMDGPU/gfx940/amdgpu_gfx940_sys_regs.h
    A common/h/registers/aarch64/aarch64_regs.h
    A common/h/registers/aarch64/aarch64_sys_regs.h
    A common/h/registers/abstract_regs.h
    A common/h/registers/cuda_regs.h
    A common/h/registers/ppc32_regs.h
    A common/h/registers/ppc64_regs.h
    A common/h/registers/reg_def.h
    A common/h/registers/x86_64_regs.h
    A common/h/registers/x86_regs.h

  Log Message:
  -----------
  Put registers for each arch in separate file


  Commit: 09fe290b3711730a142e65af12b567c1e0097178
      https://github.com/dyninst/dyninst/commit/09fe290b3711730a142e65af12b567c1e0097178
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/h/dyn_regs.h
    M common/h/registers/x86_regs.h
    M common/src/dyn_regs.C

  Log Message:
  -----------
  Move isSegmentRegister into x86_regs.h


  Commit: 2ce23b7efaaeb443b48002333d70fbc7d9fda20a
      https://github.com/dyninst/dyninst/commit/2ce23b7efaaeb443b48002333d70fbc7d9fda20a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M common/src/arch-aarch64.h
    M common/src/arch-power.h
    M common/src/arch-x86.C
    M common/src/arch-x86.h
    M dataflowAPI/src/ABI.C
    M dataflowAPI/src/AbslocInterface.C
    M dataflowAPI/src/SymEvalPolicy.C
    M dataflowAPI/src/liveness.C
    M dataflowAPI/src/slicing.C
    M dataflowAPI/src/stackanalysis.C
    M dwarf/src/dwarfFrameParser.C
    M dwarf/src/dwarfResult.C
    M dyninstAPI/src/BPatch_object.C
    M dyninstAPI/src/BPatch_type.C
    M dyninstAPI/src/RegisterConversion-ppc.C
    M dyninstAPI/src/RegisterConversion-x86.C
    M dyninstAPI/src/Relocation/Transformers/Movement-analysis.C
    M dyninstAPI/src/StackMod/StackAccess.C
    M dyninstAPI/src/linux-x86.C
    M dyninstAPI/src/parse-x86.C
    M instructionAPI/src/AMDGPU/gfx908/InstructionDecoder-amdgpu-gfx908.C
    M instructionAPI/src/AMDGPU/gfx90a/InstructionDecoder-amdgpu-gfx90a.C
    M instructionAPI/src/AMDGPU/gfx940/InstructionDecoder-amdgpu-gfx940.C
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/InstructionDecoder-aarch64.C
    M instructionAPI/src/InstructionDecoder-power.C
    M instructionAPI/src/InstructionDecoder-power.h
    M instructionAPI/src/InstructionDecoder-x86.C
    M instructionAPI/src/Operation.C
    M instructionAPI/src/Register.C
    M parseAPI/src/BoundFactCalculator.C
    M parseAPI/src/IA_IAPI.C
    M parseAPI/src/IA_aarch64.C
    M parseAPI/src/IA_power.C
    M parseAPI/src/IdiomModelDesc.C
    M parseAPI/src/JumpTableFormatPred.C
    M parseAPI/src/Parser.C
    M parseAPI/src/ProbabilisticParser.C
    M proccontrol/src/linux.C
    M proccontrol/src/mmapalloc.C
    M proccontrol/src/x86_process.C
    M stackwalk/h/local_var.h
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/linuxbsd-x86-swk.C
    M stackwalk/src/sw_pcontrol.C
    M stackwalk/src/walker.C
    M stackwalk/src/x86-swk.C
    M symtabAPI/src/Function.C
    M symtabAPI/src/Variable.C

  Log Message:
  -----------
  Use new per-architecture register files

This should reduce compile times and file sizes.


  Commit: 84010e07a47447cf567aa8e82403694b84b25664
      https://github.com/dyninst/dyninst/commit/84010e07a47447cf567aa8e82403694b84b25664
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M stackwalk/h/procstate.h

  Log Message:
  -----------
  Remove unnecessary comment in stackwalk/procstate.h


Compare: https://github.com/dyninst/dyninst/compare/fd4f362f7d07%5E...84010e07a474
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] fd4f36: Move Dyninst::Architecture into its own file, Tim Haines <=