diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index 2e6a7d8c1fb..6dc0776d431 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -2272,6 +2272,8 @@ StringRef ELFObjectFile return "ELF64-i386"; case ELF::EM_X86_64: return "ELF64-x86-64"; + case ELF::EM_PPC64: + return "ELF64-ppc64"; default: return "ELF64-unknown"; } @@ -2295,6 +2297,8 @@ unsigned ELFObjectFile::getArch() const { case ELF::EM_MIPS: return (target_endianness == support::little) ? Triple::mipsel : Triple::mips; + case ELF::EM_PPC64: + return Triple::ppc64; default: return Triple::UnknownArch; }