Lines Matching refs:Diags
149 DiagnosticsEngine &Diags);
156 DiagnosticsEngine &Diags) { in CreateFromArgs() argument
170 Diags.Report(diag::err_drv_missing_argument) in CreateFromArgs()
179 Diags.Report(diag::err_drv_unknown_argument) << (*it)->getAsString(*Args); in CreateFromArgs()
220 Diags.Report(diag::err_drv_unknown_argument) << A->getAsString(*Args); in CreateFromArgs()
235 Diags.Report(diag::err_drv_invalid_value) in CreateFromArgs()
246 getLastArgIntValue(*Args.get(), OPT_output_asm_variant, 0, Diags); in CreateFromArgs()
259 getOutputStream(AssemblerInvocation &Opts, DiagnosticsEngine &Diags, in getOutputStream() argument
273 Diags.Report(diag::err_fe_unable_to_open_output) << Opts.OutputPath in getOutputStream()
282 DiagnosticsEngine &Diags) { in ExecuteAssembler() argument
287 return Diags.Report(diag::err_target_unknown_triple) << Opts.Triple; in ExecuteAssembler()
294 return Diags.Report(diag::err_fe_error_reading) << Opts.InputFile; in ExecuteAssembler()
318 std::unique_ptr<raw_fd_ostream> FDOS = getOutputStream(Opts, Diags, IsBinary); in ExecuteAssembler()
405 Failed = Diags.Report(diag::err_target_unknown_triple) << Opts.Triple; in ExecuteAssembler()
425 DiagnosticsEngine &Diags = *static_cast<DiagnosticsEngine*>(UserData); in LLVMErrorHandler() local
427 Diags.Report(diag::err_fe_error_backend) << Message; in LLVMErrorHandler()
450 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); in cc1as_main() local
455 (LLVMErrorHandler, static_cast<void*>(&Diags)); in cc1as_main()
459 if (!AssemblerInvocation::CreateFromArgs(Asm, Argv, Diags)) in cc1as_main()
491 bool Failed = Diags.hasErrorOccurred() || ExecuteAssembler(Asm, Diags); in cc1as_main()