Fix issue with bitwise and precedence.
[oota-llvm.git] / lib / Support / Program.cpp
index fa816f68c8a4f3c36833cb9e091ac3013c79a0de..75bc282d9bd48122cd809bbd5e647a8938e9b93c 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "llvm/Support/Program.h"
 #include "llvm/Config/config.h"
+#include "llvm/Support/system_error.h"
 using namespace llvm;
 using namespace sys;
 
@@ -28,11 +29,10 @@ Program::ExecuteAndWait(const Path& path,
                         const Path** redirects,
                         unsigned secondsToWait,
                         unsigned memoryLimit,
-                        std::string* ErrMsg,
-                        const char* SignalPrefix) {
+                        std::string* ErrMsg) {
   Program prg;
   if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg))
-    return prg.Wait(path, secondsToWait, ErrMsg, SignalPrefix);
+    return prg.Wait(path, secondsToWait, ErrMsg);
   else
     return -1;
 }