mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e13ed1533b
commit
265c026fee
@ -17,6 +17,7 @@
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/IntrinsicInst.h"
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
|
||||
@ -181,7 +182,7 @@ void CallGraph::print(raw_ostream &OS, Module*) const {
|
||||
I->second->print(OS);
|
||||
}
|
||||
void CallGraph::dump() const {
|
||||
print(errs(), 0);
|
||||
print(dbgs(), 0);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
@ -232,7 +233,7 @@ void CallGraphNode::print(raw_ostream &OS) const {
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
void CallGraphNode::dump() const { print(errs()); }
|
||||
void CallGraphNode::dump() const { print(dbgs()); }
|
||||
|
||||
/// removeCallEdgeFor - This method removes the edge in the node for the
|
||||
/// specified call site. Note that this method takes linear time, so it
|
||||
|
Loading…
x
Reference in New Issue
Block a user