mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92649 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd7b8458d1
commit
4b12168ce5
@ -56,6 +56,7 @@
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/InstVisitor.h"
|
||||
#include "llvm/ADT/SetVector.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
@ -85,9 +86,9 @@ namespace { // Anonymous namespace for class
|
||||
|
||||
for (Function::iterator I = F.begin(), E = F.end(); I != E; ++I) {
|
||||
if (I->empty() || !I->back().isTerminator()) {
|
||||
errs() << "Basic Block does not have terminator!\n";
|
||||
WriteAsOperand(errs(), I, true);
|
||||
errs() << "\n";
|
||||
dbgs() << "Basic Block does not have terminator!\n";
|
||||
WriteAsOperand(dbgs(), I, true);
|
||||
dbgs() << "\n";
|
||||
Broken = true;
|
||||
}
|
||||
}
|
||||
@ -262,12 +263,12 @@ namespace {
|
||||
default: llvm_unreachable("Unknown action");
|
||||
case AbortProcessAction:
|
||||
MessagesStr << "compilation aborted!\n";
|
||||
errs() << MessagesStr.str();
|
||||
dbgs() << MessagesStr.str();
|
||||
// Client should choose different reaction if abort is not desired
|
||||
abort();
|
||||
case PrintMessageAction:
|
||||
MessagesStr << "verification continues.\n";
|
||||
errs() << MessagesStr.str();
|
||||
dbgs() << MessagesStr.str();
|
||||
return false;
|
||||
case ReturnStatusAction:
|
||||
MessagesStr << "compilation terminated.\n";
|
||||
|
Loading…
Reference in New Issue
Block a user