Lines Matching refs:Program
1 //===- Win32/Program.cpp - Win32 Program Implementation ------- -*- C++ -*-===//
9 // This file provides the Win32 specific implementation of the Program class.
174 static bool Execute(ProcessInfo &PI, StringRef Program,
180 if (!sys::fs::can_execute(Program)) {
186 // can_execute may succeed by looking at Program + ".exe". CreateProcessW
191 if (!sys::fs::exists(Program))
192 Program = Twine(Program + ".exe").toStringRef(ProgramStorage);
278 if (std::error_code ec = sys::windows::widenPath(Program, ProgramUtf16)) {
308 std::string("Couldn't execute program '") + Program.str() + "'");
564 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
572 FullArgs.push_back(Program);