From c2e0974afb86c2ae07137c6e486db95c46023f44 Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 5 Jan 2010 01:27:53 +0000 Subject: [PATCH] Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92626 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Linker/Linker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp index 32aa0f90112..3d24804fbd0 100644 --- a/lib/Linker/Linker.cpp +++ b/lib/Linker/Linker.cpp @@ -15,6 +15,7 @@ #include "llvm/Module.h" #include "llvm/Bitcode/ReaderWriter.h" #include "llvm/System/Path.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Config/config.h" @@ -60,7 +61,7 @@ Linker::warning(StringRef message) { void Linker::verbose(StringRef message) { if (Flags&Verbose) - errs() << " " << message << "\n"; + dbgs() << " " << message << "\n"; } void