diff --git a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp --- a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp +++ b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp @@ -752,6 +752,12 @@ case Triple::x86_64: UseJITLink = !TT.isOSBinFormatCOFF(); break; + case Triple::ppc64: + UseJITLink = TT.isPPC64ELFv2ABI(); + break; + case Triple::ppc64le: + UseJITLink = TT.isOSBinFormatELF(); + break; default: break; }