Lines Matching refs:TheDriver
233 static void SetBackdoorDriverOutputsFromEnvVars(Driver &TheDriver) { in SetBackdoorDriverOutputsFromEnvVars() argument
235 TheDriver.CCPrintOptions = !!::getenv("CC_PRINT_OPTIONS"); in SetBackdoorDriverOutputsFromEnvVars()
236 if (TheDriver.CCPrintOptions) in SetBackdoorDriverOutputsFromEnvVars()
237 TheDriver.CCPrintOptionsFilename = ::getenv("CC_PRINT_OPTIONS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
240 TheDriver.CCPrintHeaders = !!::getenv("CC_PRINT_HEADERS"); in SetBackdoorDriverOutputsFromEnvVars()
241 if (TheDriver.CCPrintHeaders) in SetBackdoorDriverOutputsFromEnvVars()
242 TheDriver.CCPrintHeadersFilename = ::getenv("CC_PRINT_HEADERS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
245 TheDriver.CCLogDiagnostics = !!::getenv("CC_LOG_DIAGNOSTICS"); in SetBackdoorDriverOutputsFromEnvVars()
246 if (TheDriver.CCLogDiagnostics) in SetBackdoorDriverOutputsFromEnvVars()
247 TheDriver.CCLogDiagnosticsFilename = ::getenv("CC_LOG_DIAGNOSTICS_FILE"); in SetBackdoorDriverOutputsFromEnvVars()
277 Driver &TheDriver, bool CanonicalPrefixes) { in SetInstallDir() argument
295 TheDriver.setInstalledDir(InstalledPathParent); in SetInstallDir()
450 Driver TheDriver(Path, llvm::sys::getDefaultTargetTriple(), Diags); in main() local
451 SetInstallDir(argv, TheDriver, CanonicalPrefixes); in main()
456 SetBackdoorDriverOutputsFromEnvVars(TheDriver); in main()
458 std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(argv)); in main()
462 Res = TheDriver.ExecuteCompilation(*C, FailingCommands); in main()
490 TheDriver.generateCompilationDiagnostics(*C, *FailingCommand); in main()