summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:29:58 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:29:58 +0000
commitf701473f9f22baafe0ac9bfeac98ed5a3c4a8889 (patch)
tree17c6ec1530fb23225835027aca649081ea7ec56a /llvm/lib
parent58e9cbbede83f6c024fb183183acface37da8dce (diff)
downloadbcm5719-llvm-f701473f9f22baafe0ac9bfeac98ed5a3c4a8889.tar.gz
bcm5719-llvm-f701473f9f22baafe0ac9bfeac98ed5a3c4a8889.zip
Change errs() to dbgs().
llvm-svn: 92658
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Attributes.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp
index d68bba30729..a371c6f92eb 100644
--- a/llvm/lib/VMCore/Attributes.cpp
+++ b/llvm/lib/VMCore/Attributes.cpp
@@ -17,6 +17,7 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/System/Atomic.h"
#include "llvm/System/Mutex.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
@@ -318,11 +319,11 @@ AttrListPtr AttrListPtr::removeAttr(unsigned Idx, Attributes Attrs) const {
}
void AttrListPtr::dump() const {
- errs() << "PAL[ ";
+ dbgs() << "PAL[ ";
for (unsigned i = 0; i < getNumSlots(); ++i) {
const AttributeWithIndex &PAWI = getSlot(i);
- errs() << "{" << PAWI.Index << "," << PAWI.Attrs << "} ";
+ dbgs() << "{" << PAWI.Index << "," << PAWI.Attrs << "} ";
}
- errs() << "]\n";
+ dbgs() << "]\n";
}
OpenPOWER on IntegriCloud