For PR777:
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.

llvm-svn: 28309
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index ae851c7..a7f42dd 100644
--- a/llvm/lib/Support/FileUtilities.cpp
+++ b/llvm/lib/Support/FileUtilities.cpp
@@ -241,5 +241,8 @@
   } catch (const std::string &Msg) {
     if (Error) *Error = Msg;
     return 2;
+  } catch (...) {
+    *Error = "Unknown Exception Occurred";
+    return 2;
   }
 }