X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2FSystemUtils.h;h=7a4c6277dc538b2e47bc37b1958a04508aa8da6a;hb=e9ba8b36740f46ba1a7a68706cafda1df1d2ca74;hp=4573e27ce02dbdc7247a6bea26bd89ac4a65f755;hpb=35d402fbbaaa7b9db1b56757fb1b390a3889ebad;p=oota-llvm.git diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h index 4573e27ce02..7a4c6277dc5 100644 --- a/include/llvm/Support/SystemUtils.h +++ b/include/llvm/Support/SystemUtils.h @@ -34,4 +34,12 @@ int RunProgramWithTimeout(const std::string &ProgramPath, const char **Args, const std::string &StdOutFile = "", const std::string &StdErrFile = ""); +/// +/// Function: ExecWait() +/// +/// Description: +/// Execute a program with the given arguments and environment and +/// wait for it to terminate. +/// +int ExecWait (char ** argv, char ** envp); #endif