Branch: refs/heads/fix_amdgpu_rela
Home: https://github.com/dyninst/dyninst
Commit: 4c86fb98550962c84c951b0cf1daf7303ebf7458
https://github.com/dyninst/dyninst/commit/4c86fb98550962c84c951b0cf1daf7303ebf7458
Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M symtabAPI/src/Object-elf.C
Log Message:
-----------
Fix EM_AMDGPU to use RELA as Region Type
According to the llvm page
https://llvm.org/docs/AMDGPUUsage.html#relocation-records
AMDGPU backend generates Elf64_Rela records.
This fix added the case for EM_AMDGPU to
static Region::RegionType getRelTypeByElfMachine
such that it uses RELA instead of the default REL type.
|