Index: lib/ReaderWriter/ELF/ELFFile.cpp =================================================================== --- lib/ReaderWriter/ELF/ELFFile.cpp +++ lib/ReaderWriter/ELF/ELFFile.cpp @@ -113,6 +113,8 @@ return Reference::KindArch::Mips; case llvm::ELF::EM_AARCH64: return Reference::KindArch::AArch64; + case llvm::ELF::EM_AMDGPU: + return Reference::KindArch::AMDGPU; } llvm_unreachable("unsupported e_machine value"); }