From da23d93d9bb6238757e29b1abee571a0052ab8fc Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 5 Jan 2010 01:34:26 +0000 Subject: [PATCH] Fix a build error and change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92669 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/ConstantsContext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/VMCore/ConstantsContext.h b/lib/VMCore/ConstantsContext.h index 60ae13d2385..08224e4488b 100644 --- a/lib/VMCore/ConstantsContext.h +++ b/lib/VMCore/ConstantsContext.h @@ -17,6 +17,7 @@ #include "llvm/Instructions.h" #include "llvm/Operator.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" #include @@ -763,7 +764,7 @@ public: } void dump() const { - DEBUG(errs() << "Constant.cpp: ConstantUniqueMap\n"); + DEBUG(dbgs() << "Constant.cpp: ConstantUniqueMap\n"); } }; -- 2.34.1