Lines Matching refs:Path
56 static int RunProgramWithTimeout(const sys::Path &ProgramPath, in RunProgramWithTimeout()
58 const sys::Path &StdInFile, in RunProgramWithTimeout()
59 const sys::Path &StdOutFile, in RunProgramWithTimeout()
60 const sys::Path &StdErrFile, in RunProgramWithTimeout()
64 const sys::Path* redirects[3]; in RunProgramWithTimeout()
89 static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath, in RunProgramRemotelyWithTimeout()
91 const sys::Path &StdInFile, in RunProgramRemotelyWithTimeout()
92 const sys::Path &StdOutFile, in RunProgramRemotelyWithTimeout()
93 const sys::Path &StdErrFile, in RunProgramRemotelyWithTimeout()
96 const sys::Path* redirects[3]; in RunProgramRemotelyWithTimeout()
137 static std::string ProcessFailure(sys::Path ProgPath, const char** Args, in ProcessFailure()
147 sys::Path ErrorFilename("bugpoint.program_error_messages"); in ProcessFailure()
153 RunProgramWithTimeout(ProgPath, Args, sys::Path(""), ErrorFilename, in ProcessFailure()
178 LLI(const std::string &Path, const std::vector<std::string> *Args) in LLI() argument
179 : LLIPath(Path) { in LLI()
232 return RunProgramWithTimeout(sys::Path(LLIPath), &LLIArgs[0], in ExecuteProgram()
233 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), in ExecuteProgram()
306 if (RunProgramWithTimeout( sys::Path(CompilerCommand), &ProgramArgs[0], in compileProgram()
307 sys::Path(), sys::Path(), sys::Path(), in compileProgram()
309 *Error = ProcessFailure(sys::Path(CompilerCommand), &ProgramArgs[0], in compileProgram()
364 sys::Path(ExecutionCommand), in ExecuteProgram()
365 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile), in ExecuteProgram()
366 sys::Path(OutputFile), Timeout, MemoryLimit, Error); in ExecuteProgram()
445 sys::Path &OutputAsmFile, std::string &Error, in OutputCode()
448 sys::Path uniqueFile(Bitcode + Suffix); in OutputCode()
478 if (RunProgramWithTimeout(sys::Path(LLCPath), &LLCArgs[0], in OutputCode()
479 sys::Path(), sys::Path(), sys::Path(), in OutputCode()
481 Error = ProcessFailure(sys::Path(LLCPath), &LLCArgs[0], in OutputCode()
488 sys::Path OutputAsmFile; in compileProgram()
503 sys::Path OutputAsmFile; in ExecuteProgram()
549 JIT(const std::string &Path, const std::vector<std::string> *Args) in JIT() argument
550 : LLIPath(Path) { in JIT()
604 return RunProgramWithTimeout(sys::Path(LLIPath), &JITArgs[0], in ExecuteProgram()
605 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), in ExecuteProgram()
625 sys::Path &OutputCFile, std::string &Error, in OutputCode()
627 sys::Path uniqueFile(Bitcode+".cbe.c"); in OutputCode()
653 if (RunProgramWithTimeout(LLCPath, &LLCArgs[0], sys::Path(), sys::Path(), in OutputCode()
654 sys::Path(), Timeout, MemoryLimit)) in OutputCode()
661 sys::Path OutputCFile; in compileProgram()
675 sys::Path OutputCFile; in ExecuteProgram()
695 sys::Path LLCPath = in createCBE()
771 sys::Path OutputBinary (ProgramFile+".gcc.exe"); in ExecuteProgram()
801 if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(), in ExecuteProgram()
802 sys::Path())) { in ExecuteProgram()
858 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), in ExecuteProgram()
871 return RunProgramRemotelyWithTimeout(sys::Path(RemoteClientPath), in ExecuteProgram()
872 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile), in ExecuteProgram()
873 sys::Path(OutputFile), Timeout, MemoryLimit); in ExecuteProgram()
881 sys::Path uniqueFilename(InputFile+LTDL_SHLIB_EXT); in MakeSharedObject()
952 if (RunProgramWithTimeout(GCCPath, &GCCArgs[0], sys::Path(), sys::Path(), in MakeSharedObject()
953 sys::Path())) { in MakeSharedObject()
965 sys::Path GCCPath = sys::Program::FindProgramByName(GCCBinary); in create()
971 sys::Path RemoteClientPath; in create()