mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b965b05fc
commit
8f1929b9ea
@ -11,6 +11,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/FormattedStream.h"
|
#include "llvm/Support/FormattedStream.h"
|
||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
@ -91,3 +92,10 @@ formatted_raw_ostream &llvm::ferrs() {
|
|||||||
static formatted_raw_ostream S(errs());
|
static formatted_raw_ostream S(errs());
|
||||||
return S;
|
return S;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// fdbgs() - This returns a reference to a formatted_raw_ostream for
|
||||||
|
/// the debug stream. Use it like: fdbgs() << "foo" << "bar";
|
||||||
|
formatted_raw_ostream &llvm::fdbgs() {
|
||||||
|
static formatted_raw_ostream S(dbgs());
|
||||||
|
return S;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user