Lines Matching refs:Program
1 //===- llvm/Support/Unix/Program.cpp -----------------------------*- C++ -*-===//
9 // This file implements the Unix specific portion of the Program class.
18 #include "llvm/Support/Program.h"
174 static bool Execute(ProcessInfo &PI, StringRef Program,
179 if (!llvm::sys::fs::exists(Program)) {
181 *ErrMsg = std::string("Executable \"") + Program.str() +
256 Err = posix_spawn(&PID, Program.str().c_str(), FileActions,
309 std::string PathStr = std::string(Program);
477 *ErrMsg = "Program could not be executed";
535 bool llvm::sys::commandLineFitsWithinSystemLimits(StringRef Program,
557 size_t ArgLength = Program.size() + 1;