diff options
Diffstat (limited to 'tools/gccld/gccld.cpp')
-rw-r--r-- | tools/gccld/gccld.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 77ab03c027..c153f81124 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -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; } |