Skip to content

Commit

Permalink
Add missing arches in getSyscallReturnValueReg
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Oct 30, 2023
1 parent 2fab3fd commit 7cca576
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/src/registers/MachRegister.C
Expand Up @@ -407,6 +407,12 @@ namespace Dyninst {
case Arch_ppc32: return ppc32::r3;
case Arch_ppc64: return ppc64::r3;
case Arch_aarch64: return aarch64::x0; // returned value is save in x0
case Arch_aarch32:
case Arch_cuda:
case Arch_intelGen9:
case Arch_amdgpu_gfx908:
case Arch_amdgpu_gfx90a:
case Arch_amdgpu_gfx940:
case Arch_none: return InvalidReg;
}
return InvalidReg;
Expand Down

0 comments on commit 7cca576

Please sign in to comment.