diff --git a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h --- a/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h +++ b/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h @@ -36,7 +36,7 @@ class MCJITTestAPICommon { protected: MCJITTestAPICommon() - : HostTriple(sys::getProcessTriple()) + : HostTriple(sys::getDefaultTargetTriple()) { InitializeNativeTarget(); InitializeNativeTargetAsmPrinter();