shutdown the app when done.

llvm-svn: 33716
This commit is contained in:
Chris Lattner 2007-01-31 20:10:54 +00:00
parent 416a8939c3
commit adb4954d9c
1 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Streams.h"
@ -420,6 +421,7 @@ int main(int argc, char **argv, char **envp ) {
cerr << argv[0] << ": An unexpected unknown exception occurred.\n";
exitCode = 3;
}
llvm_shutdown();
return exitCode;
}