Lines Matching refs:Program
1 //===- Win32/Program.cpp - Win32 Program Implementation ------- -*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Program class.
171 static bool Execute(ProcessInfo &PI, StringRef Program,
175 if (!sys::fs::can_execute(Program)) {
181 // can_execute may succeed by looking at Program + ".exe". CreateProcessW
186 if (!sys::fs::exists(Program))
187 Program = Twine(Program + ".exe").toStringRef(ProgramStorage);
267 if (std::error_code ec = path::widenPath(Program, ProgramUtf16)) {
298 Program.str() + "'");
514 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
519 FullArgs.push_back(Program);