machine and one is required.
Part of rdar://
13295753
llvm-svn: 178042
"unable to load PCH file">;
def err_fe_unable_to_load_plugin : Error<
"unable to load plugin '%0': '%1'">;
-def err_fe_unable_to_create_target : Error<
- "unable to create target: '%0'">;
def err_fe_unable_to_interface_with_target : Error<
"unable to interface with target machine">;
def err_fe_unable_to_open_output : Error<
const llvm::Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error);
if (!TheTarget) {
if (MustCreateTM)
- Diags.Report(diag::err_fe_unable_to_create_target) << Error;
+ llvm::report_fatal_error ("Unable to create target: " + Error);
return 0;
}