[DynInst_API:] [dyninst/dyninst] e995de: initial compilable commit


Date: Wed, 23 Jul 2025 13:39:06 -0700
From: Ronak Chauhan <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e995de: initial compilable commit
  Branch: refs/heads/ronak/amdgpu-va-rebase
  Home:   https://github.com/dyninst/dyninst
  Commit: e995de88bd37ad554f82d31349e988c8a27a6efc
      https://github.com/dyninst/dyninst/commit/e995de88bd37ad554f82d31349e988c8a27a6efc
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M cmake/DyninstPlatform.cmake
    M common/CMakeLists.txt
    A common/src/arch-amdgpu.C
    A common/src/arch-amdgpu.h
    M dataflowAPI/src/ABI.C
    A dataflowAPI/src/amdgpu_gfx908_machRegIndex.h
    A dataflowAPI/src/amdgpu_gfx90a_machRegIndex.h
    A dataflowAPI/src/amdgpu_gfx940_machRegIndex.h
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/BPatch_snippet.C
    A dyninstAPI/src/RegisterConversion-amdgpu.C
    A dyninstAPI/src/Relocation/Widgets/CFWidget-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/CFWidget.h
    A dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/StackModWidget.C
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/binaryEdit.C
    A dyninstAPI/src/codegen-amdgpu.C
    A dyninstAPI/src/codegen-amdgpu.h
    M dyninstAPI/src/codegen.h
    A dyninstAPI/src/emit-amdgpu.C
    A dyninstAPI/src/emit-amdgpu.h
    A dyninstAPI/src/inst-amdgpu.C
    A dyninstAPI/src/inst-amdgpu.h
    A dyninstAPI/src/linux-amdgpu.C
    A dyninstAPI/src/linux-amdgpu.h
    M dyninstAPI/src/linux.h
    M dyninstAPI/src/mapped_object.C
    A dyninstAPI/src/parse-amdgpu.C
    M dyninstAPI/src/parse-cfg.h
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h
    A dyninstAPI/src/stackwalk-amdgpu.C
    M dyninstAPI_RT/CMakeLists.txt
    M dyninstAPI_RT/src/RTlinux.c
    A dyninstAPI_RT/src/RTthread-amdgpu.c
    M parseAPI/src/Parser-speculative.C
    M proccontrol/CMakeLists.txt
    A proccontrol/src/amdgpu_process.C
    A proccontrol/src/amdgpu_process.h
    M proccontrol/src/linux.C
    M proccontrol/src/linux.h
    M stackwalk/CMakeLists.txt
    A stackwalk/src/amdgpu-swk.C
    A stackwalk/src/amdgpu-swk.h
    M stackwalk/src/dbginfo-stepper.C
    M stackwalk/src/framestepper.C
    A stackwalk/src/linux-amdgpu-swk.C
    M stackwalk/src/linux-x86-swk.C
    M symtabAPI/CMakeLists.txt
    A symtabAPI/src/emitElfStatic-amdgpu.C
    A symtabAPI/src/relocationEntry-elf-amdgpu.C

  Log Message:
  -----------
  initial compilable commit


  Commit: 4ec9b01c5abb8f33149265c98c23f89618c52107
      https://github.com/dyninst/dyninst/commit/4ec9b01c5abb8f33149265c98c23f89618c52107
  Author: Ronak Chauhan <rchauhan9@xxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  Add additional interfaces to the Emitter


  Commit: ad9f09e6fec538dd97fd4ba8a9eaf108e66a5380
      https://github.com/dyninst/dyninst/commit/ad9f09e6fec538dd97fd4ba8a9eaf108e66a5380
  Author: Ronak Chauhan <rchauhan9@xxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C
    A dyninstAPI/src/amdgpu-vega-details.cpp
    A dyninstAPI/src/amdgpu-vega-details.h
    M dyninstAPI/src/codegen.h
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/inst-amdgpu.C
    M proccontrol/src/amdgpu_process.C

  Log Message:
  -----------
  Get dyninst to build with the AMDGPU Vega emitter


  Commit: 80777146a2c3b63efcd15a22c289dc9a542fd115
      https://github.com/dyninst/dyninst/commit/80777146a2c3b63efcd15a22c289dc9a542fd115
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [AMDGPU] Use hex literals instead of binary literals


  Commit: 00d5b85df68703d164e15bb81e4b037795285c8c
      https://github.com/dyninst/dyninst/commit/00d5b85df68703d164e15bb81e4b037795285c8c
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/RegisterConversion-amdgpu.C
    M dyninstAPI/src/inst-amdgpu.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h

  Log Message:
  -----------
  [AMDGPU] Add register conversion for gfx908

Next : look into dataflowAPI and ABI


  Commit: e846de291f297191bf44ba7b4dfe121ac70a8e96
      https://github.com/dyninst/dyninst/commit/e846de291f297191bf44ba7b4dfe121ac70a8e96
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dataflowAPI/src/ABI.C
    M dyninstAPI/src/registerSpace.C

  Log Message:
  -----------
  Try to fill in some ABI and liveness related gaps


  Commit: df7cf2d1a1239c4f1bccd421cb1bec73f0a9f05c
      https://github.com/dyninst/dyninst/commit/df7cf2d1a1239c4f1bccd421cb1bec73f0a9f05c
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dataflowAPI/src/amdgpu_gfx908_machRegIndex.h
    M dyninstAPI/src/codegen.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h

  Log Message:
  -----------
  Fixes to let insertSnippet Example Work

This commit contains of the following patch to make the insert
snippet example works. It is not intended to be merged, and all
these "hacks" should be looked at carefully and changed to a
correct implementation.

1. Add additional registers in the liveness register map in dataflowAPI
2. Add additional register encoding types in registerSpace
3. Add definedRegs tracking for arch_amdgpu


  Commit: 6abcf545a41de71d3d9f37086d154bd8420761c7
      https://github.com/dyninst/dyninst/commit/6abcf545a41de71d3d9f37086d154bd8420761c7
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Remove duplicate CMake config


  Commit: cf8f304cad6dfaa4226cfa8e05187882635c089c
      https://github.com/dyninst/dyninst/commit/cf8f304cad6dfaa4226cfa8e05187882635c089c
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Compile amdgpu-vega-details.cpp only when building Dyninst for AMDGPU


  Commit: 0bc602373d5d2abbdfe3c1577524ebc74c0e57e8
      https://github.com/dyninst/dyninst/commit/0bc602373d5d2abbdfe3c1577524ebc74c0e57e8
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    A dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Have separate implementation of AST interfaces for AMDGPU


  Commit: bd0ba30e3eec6fa3340819dbd7b7925238071e3b
      https://github.com/dyninst/dyninst/commit/bd0ba30e3eec6fa3340819dbd7b7925238071e3b
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU][AST-Lower] Remove some code not relevant to AMDGPU


  Commit: c8f01405057fe924c45bd62ec5a15da9de69c865
      https://github.com/dyninst/dyninst/commit/c8f01405057fe924c45bd62ec5a15da9de69c865
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Emit short jump for branchOp in AstOperatorNode


  Commit: 2150bd74c8632af4853ff414f161f7a66ab7bbf8
      https://github.com/dyninst/dyninst/commit/2150bd74c8632af4853ff414f161f7a66ab7bbf8
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/registerSpace.C

  Log Message:
  -----------
  Remove print statements from checkLive


  Commit: 6ec6359cfdf97bc7126e52c611404aeb64efb3f3
      https://github.com/dyninst/dyninst/commit/6ec6359cfdf97bc7126e52c611404aeb64efb3f3
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [Emitter] Add emitOpImmSimple interface for immedate operations

The existing emitOpImm takes two opcodes, and we don't want to mess with
any existing code.


  Commit: 414e3125ff2de69c03b494a2170f103f960d2d1a
      https://github.com/dyninst/dyninst/commit/414e3125ff2de69c03b494a2170f103f960d2d1a
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] [WIP] Generate code for binary operations

1. Liveness and register re-allocation seem to be broken
2. reg-to-reg binary operations generate correct instruction, but modify
  a live register
3. imm-to-reg binary operations segfault and require fixing.


  Commit: 3dfd3e57a91f8e06c24a13a9acea41d85bdd5de1
      https://github.com/dyninst/dyninst/commit/3dfd3e57a91f8e06c24a13a9acea41d85bdd5de1
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  Revert "[AMDGPU] [WIP] Generate code for binary operations"

This reverts commit 1c6f674843025282e672d853e895cc6c1cd404f7.


  Commit: eb22a49d45f9cf5673ee0e86c3a1b1f21c5951a8
      https://github.com/dyninst/dyninst/commit/eb22a49d45f9cf5673ee0e86c3a1b1f21c5951a8
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Generate SALU instructions for binary operations


  Commit: cbf38ca0ad326f6fc31badb0751aeb78e3f5ce49
      https://github.com/dyninst/dyninst/commit/cbf38ca0ad326f6fc31badb0751aeb78e3f5ce49
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [AMDGPU] Fix emitting SMEM instructions


  Commit: add4b0cf6bd80023705b0028c9dada831b4c1a64
      https://github.com/dyninst/dyninst/commit/add4b0cf6bd80023705b0028c9dada831b4c1a64
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_snippet.C
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/ast.h

  Log Message:
  -----------
  [AMDGPU][CodeGen] Add variable allocation skeleton


  Commit: 8347522e8384f4ce057f75f1d2280605ecc07a7a
      https://github.com/dyninst/dyninst/commit/8347522e8384f4ce057f75f1d2280605ecc07a7a
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M common/src/arch-amdgpu.h
    M symtabAPI/src/relocationEntry-elf-amdgpu.C

  Log Message:
  -----------
  Use DYNINST_EXPORT macro


  Commit: 924f40e257d041eb11fafefae20034ab0b455712
      https://github.com/dyninst/dyninst/commit/924f40e257d041eb11fafefae20034ab0b455712
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M cmake/DyninstOptions.cmake
    M cmake/DyninstPlatform.cmake

  Log Message:
  -----------
  [AMDGPU] Add CMake option for AMDGPU build of Dyninst


  Commit: bb4ad60cec1e5d883549159da72806d9bd8782ff
      https://github.com/dyninst/dyninst/commit/bb4ad60cec1e5d883549159da72806d9bd8782ff
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dataflowAPI/src/ABI.C
    M dataflowAPI/src/RegisterMap.C
    M dyninstAPI/src/registerSpace.C

  Log Message:
  -----------
  [AMDGPU] Fix build issues from liveness code

- Add missing exec_lo and exec_hi definitions
- Use appropriate map for liveness (currently hardcoded to gfx908)


  Commit: b04ad7ae9545f87305dc996edd372b7829dccb02
      https://github.com/dyninst/dyninst/commit/b04ad7ae9545f87305dc996edd372b7829dccb02
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [Emitter] Make emitOpImmSimple virtual instead of purely virtual


  Commit: 8c5cbd3036852a491660642d94f4771eb2b894d6
      https://github.com/dyninst/dyninst/commit/8c5cbd3036852a491660642d94f4771eb2b894d6
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/codegen-amdgpu.C

  Log Message:
  -----------
  [AMDGPU][WIP] Implement insnCodeGen::generateBranch

Need to use dead registers for this to work in general.


  Commit: b7fe2bd228fc2c7311391ed977339eda8717ffbf
      https://github.com/dyninst/dyninst/commit/b7fe2bd228fc2c7311391ed977339eda8717ffbf
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/codegen-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Implement insnCodeGen::generateNOOP


  Commit: 59d70edb4b88674e871d046cd6e9c4b2704ffa1d
      https://github.com/dyninst/dyninst/commit/59d70edb4b88674e871d046cd6e9c4b2704ffa1d
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M cmake/DyninstPlatform.cmake
    M dyninstAPI/CMakeLists.txt
    M dyninstAPI_RT/CMakeLists.txt
    M proccontrol/CMakeLists.txt

  Log Message:
  -----------
  Run cmake-format


  Commit: 39d4858ce23939997af840a447305ca97cb569f2
      https://github.com/dyninst/dyninst/commit/39d4858ce23939997af840a447305ca97cb569f2
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  Clean up BPatch_binaryEdit::writeFile


  Commit: f0360148982d68c2f08f3cd7b40286721725b22e
      https://github.com/dyninst/dyninst/commit/f0360148982d68c2f08f3cd7b40286721725b22e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/h/BPatch_addressSpace.h
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Output symbol names of instrumented functions along with the instrumented binary


  Commit: 972976582c75b93f495ab2c4098c7fb4f8a66cd3
      https://github.com/dyninst/dyninst/commit/972976582c75b93f495ab2c4098c7fb4f8a66cd3
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    A dyninstAPI/src/amdgpu-prologue.cpp
    A dyninstAPI/src/amdgpu-prologue.h

  Log Message:
  -----------
  [AMDGPU] Implement instrumentation prologue


  Commit: 7c69a6a7f7e985b4862c23d1fa667f4c0ee4750b
      https://github.com/dyninst/dyninst/commit/7c69a6a7f7e985b4862c23d1fa667f4c0ee4750b
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/h/BPatch_addressSpace.h
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU][WIP] Insert prologue at beginning of instrumented functions


  Commit: 66aaa555c102d07ca46c49de6249f1672e207681
      https://github.com/dyninst/dyninst/commit/66aaa555c102d07ca46c49de6249f1672e207681
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

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

  Log Message:
  -----------
  [BPatch] Add API function std::string BPatch_image::getProgramFileName()


  Commit: ef89c77e370ea6e9c4410f7124ec2296ce8fd60e
      https://github.com/dyninst/dyninst/commit/ef89c77e370ea6e9c4410f7124ec2296ce8fd60e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Set base register and offset in prologue for instrumented kernels

>From here onwards, we use tools external to Dyninst libraries along with the user-written mutator.
We plan to add the functionality of these tools to the appropriate Dyninst libraries in the future.


  Commit: 8a7538fdef66fd4a559ef468ed9f58adc76b2e55
      https://github.com/dyninst/dyninst/commit/8a7538fdef66fd4a559ef468ed9f58adc76b2e55
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Change filename of instrumented kernel list

It was a suffix to the output file name that comes from the mutator.
This commit changes it to be a suffix to the input file name. So we can
set up other tools in our scripts to read the instrumented kernel names
without having to worry about the mutator.


  Commit: 0f54bd91f82e485c6c8887a2787b4a137c0ecc64
      https://github.com/dyninst/dyninst/commit/0f54bd91f82e485c6c8887a2787b4a137c0ecc64
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_snippet.C

  Log Message:
  -----------
  [AMDGPU][BPatch] Don't create symtab entry for variables

Device code doesn't have variables in the traditional sense.
So we don't want a symtab entry for variables inserted as instrumentation.


  Commit: 1fbf0c1c6cd0ec359e8e958b712639bf804ea7f6
      https://github.com/dyninst/dyninst/commit/1fbf0c1c6cd0ec359e8e958b712639bf804ea7f6
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  [AMDGPU][ELF] Don't use library_adjust


  Commit: 711be6f398d388417a6a3126ee7fe818f29bf0e4
      https://github.com/dyninst/dyninst/commit/711be6f398d388417a6a3126ee7fe818f29bf0e4
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Fix build error on clang 15


  Commit: 95e5e16d523e70c6ee1358e887e62e629b52f0ad
      https://github.com/dyninst/dyninst/commit/95e5e16d523e70c6ee1358e887e62e629b52f0ad
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [WIP] comment out print statements


  Commit: 6b8959b92a494654ba0edce7685c2c6efbbd6b3e
      https://github.com/dyninst/dyninst/commit/6b8959b92a494654ba0edce7685c2c6efbbd6b3e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.h

  Log Message:
  -----------
  [AMDGPU] Add more SOPP opcodes for codegen


  Commit: c71b189e9552d4ee67097bd6b582370a13c91c78
      https://github.com/dyninst/dyninst/commit/c71b189e9552d4ee67097bd6b582370a13c91c78
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/Relocation/Widgets/CFWidget-amdgpu.C
    M dyninstAPI/src/codegen-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Make code relocation work


  Commit: 148bf9e4fca957f41ad309c5766ba3ec2f9fa834
      https://github.com/dyninst/dyninst/commit/148bf9e4fca957f41ad309c5766ba3ec2f9fa834
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/CMakeLists.txt
    A dyninstAPI/src/amdgpu-epilogue.cpp
    A dyninstAPI/src/amdgpu-epilogue.h
    M dyninstAPI/src/amdgpu-vega-details.h
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h

  Log Message:
  -----------
  [AMDGPU] Implement epilogue for instrumented kernels


  Commit: 2cfbcd40f0162c1d93ceb94b309cebc1407d8404
      https://github.com/dyninst/dyninst/commit/2cfbcd40f0162c1d93ceb94b309cebc1407d8404
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/h/BPatch_addressSpace.h
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Insert epilogue in instrumented kernels


  Commit: 1ea0adfaccd26b0d2f23a79b4939593be58f6ab6
      https://github.com/dyninst/dyninst/commit/1ea0adfaccd26b0d2f23a79b4939593be58f6ab6
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/codegen-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [AMDGPU] Fix long jumps


  Commit: b69ffbce3fb121385987e6fbcd3e2b8598f557bc
      https://github.com/dyninst/dyninst/commit/b69ffbce3fb121385987e6fbcd3e2b8598f557bc
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Read updated output from the kernel-info tool


  Commit: bb863ce9c66496572b16014ae82df298486f647e
      https://github.com/dyninst/dyninst/commit/bb863ce9c66496572b16014ae82df298486f647e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Revert to using kernargBufferSize for prologue


  Commit: 7e35478b84f8997a3bd390f4972f3388686abb4f
      https://github.com/dyninst/dyninst/commit/7e35478b84f8997a3bd390f4972f3388686abb4f
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_binaryEdit.C

  Log Message:
  -----------
  [AMDGPU] Also write size of kernarg buffer along with instrumented kernel names


  Commit: 782d4a05dd666e1e32bd298d1ec039043509ab45
      https://github.com/dyninst/dyninst/commit/782d4a05dd666e1e32bd298d1ec039043509ab45
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emit-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Print details when generating long branches


  Commit: 0a30b91abe49607a494a5979b39abf3ab5aa1bf7
      https://github.com/dyninst/dyninst/commit/0a30b91abe49607a494a5979b39abf3ab5aa1bf7
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emit-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Correct long jump target computation


  Commit: 6f3a26796e3197a736d283d2abc51391c783c512
      https://github.com/dyninst/dyninst/commit/6f3a26796e3197a736d283d2abc51391c783c512
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/RegisterConversion-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Update code to work with API change from 9ca1a7b56 (PR #1826)


  Commit: 0365f08b66003ee963bac11f54d9dbb184a8c7ec
      https://github.com/dyninst/dyninst/commit/0365f08b66003ee963bac11f54d9dbb184a8c7ec
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M cmake/DyninstCapArchDef.cmake
    M dataflowAPI/src/ABI.C
    M dyninstAPI/src/function.h
    M proccontrol/src/linux.C

  Log Message:
  -----------
  [AMDGPU] Get Dyninst to build after rebasing on b37171691 (PR #1807)


  Commit: 69d7830487fa052b57e450150a25f8c0a51b3989
      https://github.com/dyninst/dyninst/commit/69d7830487fa052b57e450150a25f8c0a51b3989
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dataflowAPI/src/ABI.C

  Log Message:
  -----------
  [AMDGPU] Get Dyninst to build after rebasing on 254490e70 (PR #1843)


  Commit: 1364513586f80764375f8b8e15c5be098359e32e
      https://github.com/dyninst/dyninst/commit/1364513586f80764375f8b8e15c5be098359e32e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_memoryAccessAdapter.C
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/codegen-amdgpu.C
    M dyninstAPI/src/codegen-amdgpu.h
    M dyninstAPI/src/inst-amdgpu.C
    M dyninstAPI/src/parse-amdgpu.C
    M parseAPI/src/IA_amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Get Dyninst to build after rebasing on 5758d3e5c (PR #1891)


  Commit: ac4f9a2a218514e11d96e0e1a5ef0249a60825e3
      https://github.com/dyninst/dyninst/commit/ac4f9a2a218514e11d96e0e1a5ef0249a60825e3
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C
    M dyninstAPI/src/linux-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Get Dyninst to build after rebasing on d709fffa5 (PR #1913)


  Commit: 4b56ae3c66479e1ef8ce9774b4922d86099ac48b
      https://github.com/dyninst/dyninst/commit/4b56ae3c66479e1ef8ce9774b4922d86099ac48b
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M symtabAPI/src/emitElfStatic-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Clean up emitElfUtils::updateRelocation. Makes Dyninst build after rebasing on 4d00f5cbc (PR #1933)


  Commit: 98d6325688b715a0b72696f343eab9c2fe1cace4
      https://github.com/dyninst/dyninst/commit/98d6325688b715a0b72696f343eab9c2fe1cace4
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

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

  Log Message:
  -----------
  [AMDGPU] Add new constructor for named variables


  Commit: 9eac6f827b1dbc50d1ecfdb63f2124d61be3fc0d
      https://github.com/dyninst/dyninst/commit/9eac6f827b1dbc50d1ecfdb63f2124d61be3fc0d
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/h/BPatch_snippet.h
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_snippet.C

  Log Message:
  -----------
  [AMDGPU] Add and use the wrapper around the new constructor for variables


  Commit: 2344d586b7e97120eead5828e5c7be959ed1c189
      https://github.com/dyninst/dyninst/commit/2344d586b7e97120eead5828e5c7be959ed1c189
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_snippet.C
    M dyninstAPI/src/ast.h

  Log Message:
  -----------
  [AMDGPU] Use size for variables based on type


  Commit: 0a7c9cb5200531e96b6ef2c01c07d18fc434b12b
      https://github.com/dyninst/dyninst/commit/0a7c9cb5200531e96b6ef2c01c07d18fc434b12b
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp
    M dyninstAPI/src/amdgpu-vega-details.h

  Log Message:
  -----------
  [AMDGPU] Support SOP2 operations with literals


  Commit: b38b55fac9db8fa93dc48aff2469f50a18cd3c97
      https://github.com/dyninst/dyninst/commit/b38b55fac9db8fa93dc48aff2469f50a18cd3c97
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emit-amdgpu.C
    M dyninstAPI/src/emit-amdgpu.h

  Log Message:
  -----------
  [AMDGPU] Implement addition of a constant to a register pair


  Commit: 92838daaabb21193206f03f43b1333c6bc637bb2
      https://github.com/dyninst/dyninst/commit/92838daaabb21193206f03f43b1333c6bc637bb2
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Don't build stackwalkerAPI for AMDGPU

We want to get the AMDGPU branch merged into master.

stackwalkerAPI doesn't support AMDGPU yet.
Disabling stackwalkerAPI is a temporary workaround to remove unnecessary
warnings when building the entire Dyninst project.


  Commit: 7696b2d76d39df1504fd92cc8d160e5483917a70
      https://github.com/dyninst/dyninst/commit/7696b2d76d39df1504fd92cc8d160e5483917a70
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M symtabAPI/src/emitElfStatic-amdgpu.C

  Log Message:
  -----------
  [AMDGPU][SymtabAPI] Cleanup to fix warnings


  Commit: 4a49e4577dca852419c8f1b934279a9774eb14f7
      https://github.com/dyninst/dyninst/commit/4a49e4577dca852419c8f1b934279a9774eb14f7
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-vega-details.cpp

  Log Message:
  -----------
  [AMDGPU] Cleanup low level VEGA code generation

- Don't print details
- Use hex literals instead of binary literals


  Commit: 9afc54aeabc8e5ffc7510792a53d76f6eefcc080
      https://github.com/dyninst/dyninst/commit/9afc54aeabc8e5ffc7510792a53d76f6eefcc080
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [Emitter] Fix warnings


  Commit: 34a9b4e6f8fbe6cc6dc34e999944a194b7cc1199
      https://github.com/dyninst/dyninst/commit/34a9b4e6f8fbe6cc6dc34e999944a194b7cc1199
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emit-amdgpu.C

  Log Message:
  -----------
  [AMDGPU][Emitter] Cleanup and fix warnings


  Commit: cdcfc5163ac9c74bd55327996d19c6e35a06efec
      https://github.com/dyninst/dyninst/commit/cdcfc5163ac9c74bd55327996d19c6e35a06efec
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/Relocation/Widgets/CFWidget-amdgpu.C
    M dyninstAPI/src/Relocation/Widgets/PCWidget-amdgpu.C
    M dyninstAPI/src/codegen-amdgpu.C

  Log Message:
  -----------
  [AMDGPU] Cleanup and fix more warnings


  Commit: 99b2fe5e017db3194d89a7691b1da7ecd3eab5cd
      https://github.com/dyninst/dyninst/commit/99b2fe5e017db3194d89a7691b1da7ecd3eab5cd
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/amdgpu-epilogue.cpp
    M dyninstAPI/src/amdgpu-prologue.cpp

  Log Message:
  -----------
  [AMDGPU] Fix warnings in prologue and epilogue


  Commit: 2bfaf2e2d0c689e35c2921983270aab6d17c634e
      https://github.com/dyninst/dyninst/commit/2bfaf2e2d0c689e35c2921983270aab6d17c634e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/inst-amdgpu.C

  Log Message:
  -----------
  Cleanup inst-amdgpu.C


  Commit: f98ce0c8e6cdaf2222b055dd620bb348677208c4
      https://github.com/dyninst/dyninst/commit/f98ce0c8e6cdaf2222b055dd620bb348677208c4
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/BPatch_addressSpace.C
    M dyninstAPI/src/BPatch_binaryEdit.C
    M dyninstAPI/src/BPatch_snippet.C

  Log Message:
  -----------
  [AMDGPU][BPatch] Fix mismatched type warnings


  Commit: 79b8ab1382fc4f58524cb270855e9c069ec023c1
      https://github.com/dyninst/dyninst/commit/79b8ab1382fc4f58524cb270855e9c069ec023c1
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/linux-amdgpu.C

  Log Message:
  -----------
  Comment out unused constants in linux-amdgpu.C


  Commit: ec23f737bba2dbb41587b692c79c3d3242f02f2e
      https://github.com/dyninst/dyninst/commit/ec23f737bba2dbb41587b692c79c3d3242f02f2e
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/ast-amdgpu.C

  Log Message:
  -----------
  Fix warnings in ast-amdgpu.C


  Commit: c847ca066f068273fd9e0ec4378b924d3385b410
      https://github.com/dyninst/dyninst/commit/c847ca066f068273fd9e0ec4378b924d3385b410
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/emitter.h

  Log Message:
  -----------
  [Emitter] Add API emitMovePCtoReg

We want to make all targets use this instead of having corresponding code
scattered around.


  Commit: 2de9ad26ba92b85cbd9623c31b84375691d6feb6
      https://github.com/dyninst/dyninst/commit/2de9ad26ba92b85cbd9623c31b84375691d6feb6
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M dyninstAPI/src/RegisterConversion-amdgpu.C
    M dyninstAPI/src/inst-amdgpu.C
    M dyninstAPI/src/registerSpace.C
    M dyninstAPI/src/registerSpace.h

  Log Message:
  -----------
  [AMDGPU] Rename SGPR enumerations in DyninstAPI to avoid shadowing with InstructionAPI::Result_Type


  Commit: ba1b53ed41a48dde6c76c23b369684375bb54af6
      https://github.com/dyninst/dyninst/commit/ba1b53ed41a48dde6c76c23b369684375bb54af6
  Author: Ronak Chauhan <ronak@xxxxxxxxxxx>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M cmake/DyninstPlatform.cmake
    M dyninstAPI/CMakeLists.txt

  Log Message:
  -----------
  [AMDGPU] Get Dyninst to build after rebasing on 5b6094b (PR #1830)


Compare: https://github.com/dyninst/dyninst/compare/eb93f59ef742...ba1b53ed41a4

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] e995de: initial compilable commit, Ronak Chauhan <=