From: Justin Bogner Date: Fri, 23 Jan 2015 23:28:30 +0000 (+0000) Subject: InstrProf: debug dumps should go to dbgs(), not outs() X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d2925c201ea85dcebbfd6851c764dae2e2c45342;p=oota-llvm.git InstrProf: debug dumps should go to dbgs(), not outs() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226964 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ProfileData/CoverageMapping.h b/include/llvm/ProfileData/CoverageMapping.h index 38fc8ca7c77..5a6b9797497 100644 --- a/include/llvm/ProfileData/CoverageMapping.h +++ b/include/llvm/ProfileData/CoverageMapping.h @@ -19,6 +19,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/Hashing.h" #include "llvm/ADT/iterator.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/ErrorOr.h" #include "llvm/Support/raw_ostream.h" #include @@ -217,7 +218,7 @@ public: : Expressions(Expressions), CounterValues(CounterValues) {} void dump(const Counter &C, llvm::raw_ostream &OS) const; - void dump(const Counter &C) const { dump(C, llvm::outs()); } + void dump(const Counter &C) const { dump(C, dbgs()); } /// \brief Return the number of times that a region of code associated with /// this counter was executed.