Fix bugpoint
authorChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2005 04:23:22 +0000 (04:23 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2005 04:23:22 +0000 (04:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19605 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Program.inc

index 1bd3eae0f97abe5396ec0eefd0cf89d8b28bc60d..484ce0f8c89d03621ced4982a33f638f4e91ea4a 100644 (file)
@@ -211,8 +211,7 @@ Program::ExecuteAndWait(const Path& path,
   if (WIFEXITED (status))
     return WEXITSTATUS(status);
   else if (WIFSIGNALED(status))
-    throw std::string("Program '") + path.toString() + 
-          "' received terminating signal.";
+    return 1;
     
 #else
   throw std::string(