Lines Matching refs:ProgramArgs
306 std::vector<const char*> ProgramArgs; in compileProgram() local
307 ProgramArgs.push_back(CompilerCommand.c_str()); in compileProgram()
310 ProgramArgs.push_back(CompilerArgs.at(i).c_str()); in compileProgram()
311 ProgramArgs.push_back(Bitcode.c_str()); in compileProgram()
312 ProgramArgs.push_back(nullptr); in compileProgram()
316 ProgramArgs.push_back(CompilerArgs[i].c_str()); in compileProgram()
318 if (RunProgramWithTimeout(CompilerCommand, &ProgramArgs[0], in compileProgram()
321 *Error = ProcessFailure(CompilerCommand, &ProgramArgs[0], in compileProgram()
363 std::vector<const char*> ProgramArgs; in ExecuteProgram() local
364 ProgramArgs.push_back(ExecutionCommand.c_str()); in ExecuteProgram()
367 ProgramArgs.push_back(ExecutorArgs.at(i).c_str()); in ExecuteProgram()
368 ProgramArgs.push_back(Bitcode.c_str()); in ExecuteProgram()
369 ProgramArgs.push_back(nullptr); in ExecuteProgram()
373 ProgramArgs.push_back(Args[i].c_str()); in ExecuteProgram()
377 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()
735 std::vector<const char*> ProgramArgs; in ExecuteProgram() local
742 ProgramArgs.push_back(OutputBinary.c_str()); in ExecuteProgram()
744 ProgramArgs.push_back(RemoteClientPath.c_str()); in ExecuteProgram()
745 ProgramArgs.push_back(RemoteHost.c_str()); in ExecuteProgram()
747 ProgramArgs.push_back("-l"); in ExecuteProgram()
748 ProgramArgs.push_back(RemoteUser.c_str()); in ExecuteProgram()
751 ProgramArgs.push_back("-p"); in ExecuteProgram()
752 ProgramArgs.push_back(RemotePort.c_str()); in ExecuteProgram()
755 ProgramArgs.push_back(RemoteExtra.c_str()); in ExecuteProgram()
765 ProgramArgs.push_back(Exec.c_str()); in ExecuteProgram()
770 ProgramArgs.push_back(Args[i].c_str()); in ExecuteProgram()
771 ProgramArgs.push_back(nullptr); // NULL terminator in ExecuteProgram()
776 for (unsigned i = 0, e = ProgramArgs.size()-1; i != e; ++i) in ExecuteProgram()
777 errs() << " " << ProgramArgs[i]; in ExecuteProgram()
785 int ExitCode = RunProgramWithTimeout(OutputBinary.str(), &ProgramArgs[0], in ExecuteProgram()
800 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()