Lines Matching refs:TheDriver
233 static void SetBackdoorDriverOutputsFromEnvVars(Driver &TheDriver) {
235 TheDriver.CCPrintOptions = !!::getenv("CC_PRINT_OPTIONS");
236 if (TheDriver.CCPrintOptions)
237 TheDriver.CCPrintOptionsFilename = ::getenv("CC_PRINT_OPTIONS_FILE");
240 TheDriver.CCPrintHeaders = !!::getenv("CC_PRINT_HEADERS");
241 if (TheDriver.CCPrintHeaders)
242 TheDriver.CCPrintHeadersFilename = ::getenv("CC_PRINT_HEADERS_FILE");
245 TheDriver.CCLogDiagnostics = !!::getenv("CC_LOG_DIAGNOSTICS");
246 if (TheDriver.CCLogDiagnostics)
247 TheDriver.CCLogDiagnosticsFilename = ::getenv("CC_LOG_DIAGNOSTICS_FILE");
277 Driver &TheDriver, bool CanonicalPrefixes) {
295 TheDriver.setInstalledDir(InstalledPath);
434 Driver TheDriver(Path, llvm::sys::getDefaultTargetTriple(), Diags);
435 SetInstallDir(argv, TheDriver, CanonicalPrefixes);
440 SetBackdoorDriverOutputsFromEnvVars(TheDriver);
442 std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(argv));
446 Res = TheDriver.ExecuteCompilation(*C, FailingCommands);
474 TheDriver.generateCompilationDiagnostics(*C, *FailingCommand);