[llvm-commits] [llvm] r92666 - /llvm/trunk/tools/llc/llc.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:30:21 PST 2010
Author: greened
Date: Mon Jan 4 19:30:21 2010
New Revision: 92666
URL: http://llvm.org/viewvc/llvm-project?rev=92666&view=rev
Log:
Enable debug buffering.
Modified:
llvm/trunk/tools/llc/llc.cpp
Modified: llvm/trunk/tools/llc/llc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/llc.cpp?rev=92666&r1=92665&r2=92666&view=diff
==============================================================================
--- llvm/trunk/tools/llc/llc.cpp (original)
+++ llvm/trunk/tools/llc/llc.cpp Mon Jan 4 19:30:21 2010
@@ -28,6 +28,7 @@
#include "llvm/Config/config.h"
#include "llvm/LinkAllVMCore.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/ManagedStatic.h"
@@ -210,6 +211,10 @@
int main(int argc, char **argv) {
sys::PrintStackTraceOnErrorSignal();
PrettyStackTraceProgram X(argc, argv);
+
+ // Enable debug stream buffering.
+ EnableDebugBuffering = true;
+
LLVMContext &Context = getGlobalContext();
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
More information about the llvm-commits
mailing list