[llvm-commits] CVS: llvm/tools/bugpoint/bugpoint.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 5 17:18:50 PST 2006
Changes in directory llvm/tools/bugpoint:
bugpoint.cpp updated: 1.34 -> 1.35
---
Log message:
make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.
With this change, I can now move -stats to print when llvm_shutdown is called.
---
Diffs of the changes: (+2 -0)
bugpoint.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/tools/bugpoint/bugpoint.cpp
diff -u llvm/tools/bugpoint/bugpoint.cpp:1.34 llvm/tools/bugpoint/bugpoint.cpp:1.35
--- llvm/tools/bugpoint/bugpoint.cpp:1.34 Fri Nov 17 04:07:24 2006
+++ llvm/tools/bugpoint/bugpoint.cpp Tue Dec 5 19:18:00 2006
@@ -18,6 +18,7 @@
#include "llvm/LinkAllPasses.h"
#include "llvm/Support/PassNameParser.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/PluginLoader.h"
#include "llvm/System/Process.h"
#include "llvm/System/Signals.h"
@@ -59,6 +60,7 @@
}
int main(int argc, char **argv) {
+ llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
cl::ParseCommandLineOptions(argc, argv,
" LLVM automatic testcase reducer. See\nhttp://"
"llvm.org/docs/CommandGuide/bugpoint.html"
More information about the llvm-commits
mailing list