[llvm] [llvm-objdump][AMDGPU] Pass ELF ABIVersion through disassembler (PR #78907)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 20:38:19 PST 2024


================
@@ -50,6 +50,9 @@ bool isHsaAbi(const MCSubtargetInfo &STI);
 /// \returns Code object version from the IR module flag.
 unsigned getAMDHSACodeObjectVersion(const Module &M);
 
+/// \returns Code object version from ELF's e_ident[ABIVERSION].
----------------
MaskRay wrote:

`e_ident[EI_ABIVERSION]`

https://github.com/llvm/llvm-project/pull/78907


More information about the llvm-commits mailing list