diff options
| author | Justin Bogner <mail@justinbogner.com> | 2015-01-23 23:28:30 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2015-01-23 23:28:30 +0000 |
| commit | cf3063b4a32f2785ccf95dfe71ac133a497bc386 (patch) | |
| tree | cf3cfb6a2bfb2c87b202dde9098ee1fc99c25879 | |
| parent | b4eb64ef6a26c361f246c4441db4a29b2c3acdb1 (diff) | |
| download | bcm5719-llvm-cf3063b4a32f2785ccf95dfe71ac133a497bc386.tar.gz bcm5719-llvm-cf3063b4a32f2785ccf95dfe71ac133a497bc386.zip | |
InstrProf: debug dumps should go to dbgs(), not outs()
llvm-svn: 226964
| -rw-r--r-- | llvm/include/llvm/ProfileData/CoverageMapping.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/CoverageMapping.h b/llvm/include/llvm/ProfileData/CoverageMapping.h index 38fc8ca7c77..5a6b9797497 100644 --- a/llvm/include/llvm/ProfileData/CoverageMapping.h +++ b/llvm/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 <system_error> @@ -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. |

