aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Linker/Linker.cpp')
-rw-r--r--lib/Linker/Linker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Linker/Linker.cpp b/lib/Linker/Linker.cpp
index 32aa0f9..3d24804 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