diff options
Diffstat (limited to 'tools/llvm-ranlib')
-rw-r--r-- | tools/llvm-ranlib/llvm-ranlib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-ranlib/llvm-ranlib.cpp b/tools/llvm-ranlib/llvm-ranlib.cpp index f499754ced..ef1704a78d 100644 --- a/tools/llvm-ranlib/llvm-ranlib.cpp +++ b/tools/llvm-ranlib/llvm-ranlib.cpp @@ -14,6 +14,7 @@ #include "llvm/Module.h" #include "llvm/Bytecode/Archive.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/ManagedStatic.h" #include "llvm/System/Signals.h" #include <iostream> #include <iomanip> @@ -41,6 +42,7 @@ void printSymbolTable(Archive* TheArchive) { } int main(int argc, char **argv) { + llvm_shutdown_obj X; // Call llvm_shutdown() on exit. // Have the command line options parsed and handle things // like --help and --version. |