Lines Matching refs:TheDriver
305 static void SetBackdoorDriverOutputsFromEnvVars(Driver &TheDriver) { in SetBackdoorDriverOutputsFromEnvVars() argument
307 TheDriver.CCPrintOptions = !!::getenv("CC_PRINT_OPTIONS"); in SetBackdoorDriverOutputsFromEnvVars()
308 if (TheDriver.CCPrintOptions) in SetBackdoorDriverOutputsFromEnvVars()
309 TheDriver.CCPrintOptionsFilename = ::getenv("CC_PRINT_OPTIONS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
312 TheDriver.CCPrintHeaders = !!::getenv("CC_PRINT_HEADERS"); in SetBackdoorDriverOutputsFromEnvVars()
313 if (TheDriver.CCPrintHeaders) in SetBackdoorDriverOutputsFromEnvVars()
314 TheDriver.CCPrintHeadersFilename = ::getenv("CC_PRINT_HEADERS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
317 TheDriver.CCLogDiagnostics = !!::getenv("CC_LOG_DIAGNOSTICS"); in SetBackdoorDriverOutputsFromEnvVars()
318 if (TheDriver.CCLogDiagnostics) in SetBackdoorDriverOutputsFromEnvVars()
319 TheDriver.CCLogDiagnosticsFilename = ::getenv("CC_LOG_DIAGNOSTICS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
349 Driver &TheDriver) { in SetInstallDir() argument
363 TheDriver.setInstalledDir(InstalledPath); in SetInstallDir()
459 Driver TheDriver(Path, llvm::sys::getDefaultTargetTriple(), Diags); in main() local
460 SetInstallDir(argv, TheDriver); in main()
465 SetBackdoorDriverOutputsFromEnvVars(TheDriver); in main()
467 std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(argv)); in main()
471 Res = TheDriver.ExecuteCompilation(*C, FailingCommands); in main()
499 TheDriver.generateCompilationDiagnostics(*C, *FailingCommand); in main()