mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
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
This commit is contained in:
@ -19,6 +19,7 @@
|
|||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/ADT/Hashing.h"
|
#include "llvm/ADT/Hashing.h"
|
||||||
#include "llvm/ADT/iterator.h"
|
#include "llvm/ADT/iterator.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ErrorOr.h"
|
#include "llvm/Support/ErrorOr.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include <system_error>
|
#include <system_error>
|
||||||
@ -217,7 +218,7 @@ public:
|
|||||||
: Expressions(Expressions), CounterValues(CounterValues) {}
|
: Expressions(Expressions), CounterValues(CounterValues) {}
|
||||||
|
|
||||||
void dump(const Counter &C, llvm::raw_ostream &OS) const;
|
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
|
/// \brief Return the number of times that a region of code associated with
|
||||||
/// this counter was executed.
|
/// this counter was executed.
|
||||||
|
Reference in New Issue
Block a user