Lines Matching refs:ProgramArgs
325 std::vector<const char*> ProgramArgs; in compileProgram() local
326 ProgramArgs.push_back(CompilerCommand.c_str()); in compileProgram()
329 ProgramArgs.push_back(CompilerArgs.at(i).c_str()); in compileProgram()
330 ProgramArgs.push_back(Bitcode.c_str()); in compileProgram()
331 ProgramArgs.push_back(nullptr); in compileProgram()
335 ProgramArgs.push_back(CompilerArgs[i].c_str()); in compileProgram()
337 if (RunProgramWithTimeout(CompilerCommand, &ProgramArgs[0], in compileProgram()
340 *Error = ProcessFailure(CompilerCommand, &ProgramArgs[0], in compileProgram()
382 std::vector<const char*> ProgramArgs; in ExecuteProgram() local
383 ProgramArgs.push_back(ExecutionCommand.c_str()); in ExecuteProgram()
386 ProgramArgs.push_back(ExecutorArgs.at(i).c_str()); in ExecuteProgram()
387 ProgramArgs.push_back(Bitcode.c_str()); in ExecuteProgram()
388 ProgramArgs.push_back(nullptr); in ExecuteProgram()
392 ProgramArgs.push_back(Args[i].c_str()); in ExecuteProgram()
396 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()
754 std::vector<const char*> ProgramArgs; in ExecuteProgram() local
761 ProgramArgs.push_back(OutputBinary.c_str()); in ExecuteProgram()
763 ProgramArgs.push_back(RemoteClientPath.c_str()); in ExecuteProgram()
764 ProgramArgs.push_back(RemoteHost.c_str()); in ExecuteProgram()
766 ProgramArgs.push_back("-l"); in ExecuteProgram()
767 ProgramArgs.push_back(RemoteUser.c_str()); in ExecuteProgram()
770 ProgramArgs.push_back("-p"); in ExecuteProgram()
771 ProgramArgs.push_back(RemotePort.c_str()); in ExecuteProgram()
774 ProgramArgs.push_back(RemoteExtra.c_str()); in ExecuteProgram()
784 ProgramArgs.push_back(Exec.c_str()); in ExecuteProgram()
789 ProgramArgs.push_back(Args[i].c_str()); in ExecuteProgram()
790 ProgramArgs.push_back(nullptr); // NULL terminator in ExecuteProgram()
795 for (unsigned i = 0, e = ProgramArgs.size()-1; i != e; ++i) in ExecuteProgram()
796 errs() << " " << ProgramArgs[i]; in ExecuteProgram()
804 int ExitCode = RunProgramWithTimeout(OutputBinary.str(), &ProgramArgs[0], in ExecuteProgram()
819 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()