aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:34:26 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:34:26 +0000
commit394d728637217ec6e554a83f92972d3f7676c843 (patch)
tree2df53a6db319e833c9ec8dce7e9ced0ee5e861cc /lib
parentfff99a754828be4990859893ae2966ee73d11543 (diff)
downloadexternal_llvm-394d728637217ec6e554a83f92972d3f7676c843.zip
external_llvm-394d728637217ec6e554a83f92972d3f7676c843.tar.gz
external_llvm-394d728637217ec6e554a83f92972d3f7676c843.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/ConstantsContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/ConstantsContext.h b/lib/VMCore/ConstantsContext.h
index 60ae13d..08224e4 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 <map>
@@ -763,7 +764,7 @@ public:
}
void dump() const {
- DEBUG(errs() << "Constant.cpp: ConstantUniqueMap\n");
+ DEBUG(dbgs() << "Constant.cpp: ConstantUniqueMap\n");
}
};