Home | History | Annotate | Download | only in bugpoint

Lines Matching refs:Path

56 static int RunProgramWithTimeout(const sys::Path &ProgramPath,

58 const sys::Path &StdInFile,
59 const sys::Path &StdOutFile,
60 const sys::Path &StdErrFile,
64 const sys::Path* redirects[3];
89 static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath,
91 const sys::Path &StdInFile,
92 const sys::Path &StdOutFile,
93 const sys::Path &StdErrFile,
96 const sys::Path* redirects[3];
137 static std::string ProcessFailure(sys::Path ProgPath, const char** Args,
147 sys::Path ErrorFilename("bugpoint.program_error_messages");
153 RunProgramWithTimeout(ProgPath, Args, sys::Path(""), ErrorFilename,
175 std::string LLIPath; // The path to the LLI executable
178 LLI(const std::string &Path, const std::vector<std::string> *Args)
179 : LLIPath(Path) {
232 return RunProgramWithTimeout(sys::Path(LLIPath), &LLIArgs[0],
233 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile),
306 if (RunProgramWithTimeout( sys::Path(CompilerCommand), &ProgramArgs[0],
307 sys::Path(), sys::Path(), sys::Path(),
309 *Error = ProcessFailure(sys::Path(CompilerCommand), &ProgramArgs[0],
364 sys::Path(ExecutionCommand),
365 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile),
366 sys::Path(OutputFile), Timeout, MemoryLimit, Error);
403 "' in PATH!\n";
445 sys::Path &OutputAsmFile, std::string &Error,
448 sys::Path uniqueFile(Bitcode + Suffix);
478 if (RunProgramWithTimeout(sys::Path(LLCPath), &LLCArgs[0],
479 sys::Path(), sys::Path(), sys::Path(),
481 Error = ProcessFailure(sys::Path(LLCPath), &LLCArgs[0],
488 sys::Path OutputAsmFile;
503 sys::Path OutputAsmFile;
546 std::string LLIPath; // The path to the LLI executable
549 JIT(const std::string &Path, const std::vector<std::string> *Args)
550 : LLIPath(Path) {
604 return RunProgramWithTimeout(sys::Path(LLIPath), &JITArgs[0],
605 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile),
625 sys::Path &OutputCFile, std::string &Error,
627 sys::Path uniqueFile(Bitcode+".cbe.c");
653 if (RunProgramWithTimeout(LLCPath, &LLCArgs[0], sys::Path(), sys::Path(),
654 sys::Path(), Timeout, MemoryLimit))
661 sys::Path OutputCFile;
675 sys::Path OutputCFile;
695 sys::Path LLCPath =
771 sys::Path OutputBinary (ProgramFile+".gcc.exe");
801 if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
802 sys::Path())) {
830 // Full path to the binary. We need to cd to the exec directory because
858 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile),
871 return RunProgramRemotelyWithTimeout(sys::Path(RemoteClientPath),
872 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile),
873 sys::Path(OutputFile), Timeout, MemoryLimit);
881 sys::Path uniqueFilename(InputFile+LTDL_SHLIB_EXT);
952 if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(),
953 sys::Path())) {
965 sys::Path GCCPath = sys::Program::FindProgramByName(GCCBinary);
967 Message = "Cannot find `"+ GCCBinary +"' in PATH!\n";
971 sys::Path RemoteClientPath;