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"); } };