lli no longer takes the -quiet option!
[oota-llvm.git] / lib / Support / Debug.cpp
index f87cddfe4e84a54c93fdbd94c34a0ead3498fc10..f1713429497fd5635f2b83f0f9a78a4857d4860e 100644 (file)
@@ -1,4 +1,11 @@
 //===-- Debug.cpp - An easy way to add debug output to your code ----------===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This file implements a handle way of adding debugging information to your
 // code, without it being enabled all of the time, and without having to add
 //
 //===----------------------------------------------------------------------===//
 
-#include "Support/Statistic.h"
+#include "Support/Debug.h"
 #include "Support/CommandLine.h"
+using namespace llvm;
 
-bool DebugFlag;  // DebugFlag - Exported boolean set by the -debug option
+bool llvm::DebugFlag;  // DebugFlag - Exported boolean set by the -debug option
 
 namespace {
 #ifndef NDEBUG
@@ -48,7 +56,7 @@ namespace {
 // specified on the command line, or if none was specified on the command line
 // with the -debug-only=X option.
 //
-bool isCurrentDebugType(const char *DebugType) {
+bool llvm::isCurrentDebugType(const char *DebugType) {
 #ifndef NDEBUG
   return CurrentDebugType.empty() || DebugType == CurrentDebugType;
 #else