by Eric Rannaud!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74930
91177308-0d34-0410-b5e6-
96231b3b80d8
InitializeNativeTarget();
EE = ExecutionEngine::create(MP, ForceInterpreter, &ErrorMsg, OLvl);
- if (!EE && !ErrorMsg.empty()) {
- std::cerr << argv[0] << ":error creating EE: " << ErrorMsg << "\n";
+ if (!EE) {
+ if (!ErrorMsg.empty())
+ std::cerr << argv[0] << ": error creating EE: " << ErrorMsg << "\n";
+ else
+ std::cerr << argv[0] << ": unknown error creating EE!\n";
exit(1);
}