shutdown at end of run
authorChris Lattner <sabre@nondot.org>
Wed, 31 Jan 2007 04:45:28 +0000 (04:45 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Jan 2007 04:45:28 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33697 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index d5d6f779dbc3f9310f9d19f6e3aab23fe345a825..44b35d3c861dc1e41a375d0f50c84867a5b95571 100644 (file)
@@ -263,5 +263,6 @@ int main(int argc, char **argv) {
   } catch (...) {
     cerr << argv[0] << ": Unexpected unknown exception occurred.\n";
   }
+  llvm_shutdown();
   return 1;
 }