llvm.org GIT mirror llvm / d2925c2
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 Justin Bogner 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1818 #include "llvm/ADT/DenseMap.h"
1919 #include "llvm/ADT/Hashing.h"
2020 #include "llvm/ADT/iterator.h"
21 #include "llvm/Support/Debug.h"
2122 #include "llvm/Support/ErrorOr.h"
2223 #include "llvm/Support/raw_ostream.h"
2324 #include
216217 : Expressions(Expressions), CounterValues(CounterValues) {}
217218
218219 void dump(const Counter &C, llvm::raw_ostream &OS) const;
219 void dump(const Counter &C) const { dump(C, llvm::outs()); }
220 void dump(const Counter &C) const { dump(C, dbgs()); }
220221
221222 /// \brief Return the number of times that a region of code associated with
222223 /// this counter was executed.