Lines Matching refs:Diags
145 const char **ArgEnd, DiagnosticsEngine &Diags);
153 DiagnosticsEngine &Diags) { in CreateFromArgs() argument
167 Diags.Report(diag::err_drv_missing_argument) in CreateFromArgs()
176 Diags.Report(diag::err_drv_unknown_argument) << (*it)->getAsString(*Args); in CreateFromArgs()
217 Diags.Report(diag::err_drv_unknown_argument) << A->getAsString(*Args); in CreateFromArgs()
232 Diags.Report(diag::err_drv_invalid_value) in CreateFromArgs()
243 getLastArgIntValue(*Args.get(), OPT_output_asm_variant, 0, Diags); in CreateFromArgs()
255 DiagnosticsEngine &Diags, in GetOutputStream() argument
270 Diags.Report(diag::err_fe_unable_to_open_output) in GetOutputStream()
280 DiagnosticsEngine &Diags) { in ExecuteAssembler() argument
285 return Diags.Report(diag::err_target_unknown_triple) << Opts.Triple; in ExecuteAssembler()
292 return Diags.Report(diag::err_fe_error_reading) << Opts.InputFile; in ExecuteAssembler()
317 GetOutputStream(Opts, Diags, IsBinary)); in ExecuteAssembler()
396 Failed = Diags.Report(diag::err_target_unknown_triple) << Opts.Triple; in ExecuteAssembler()
415 DiagnosticsEngine &Diags = *static_cast<DiagnosticsEngine*>(UserData); in LLVMErrorHandler() local
417 Diags.Report(diag::err_fe_error_backend) << Message; in LLVMErrorHandler()
441 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); in cc1as_main() local
446 (LLVMErrorHandler, static_cast<void*>(&Diags)); in cc1as_main()
450 if (!AssemblerInvocation::CreateFromArgs(Asm, ArgBegin, ArgEnd, Diags)) in cc1as_main()
482 bool Failed = Diags.hasErrorOccurred() || ExecuteAssembler(Asm, Diags); in cc1as_main()