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,
179 if (!sys::fs::can_execute(Program)) {
185 // can_execute may succeed by looking at Program + ".exe". CreateProcessW
190 if (!sys::fs::exists(Program))
191 Program = Twine(Program + ".exe").toStringRef(ProgramStorage);
277 if (std::error_code ec = sys::windows::widenPath(Program, ProgramUtf16)) {
305 std::string("Couldn't execute program '") + Program.str() + "'");
561 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
569 FullArgs.push_back(Program);