mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Change errs() to dbgs().
llvm-svn: 92637
This commit is contained in:
parent
a48859b420
commit
4bf2def211
@ -13,6 +13,7 @@
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/ADT/Twine.h"
|
#include "llvm/ADT/Twine.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include "llvm/System/Threading.h"
|
#include "llvm/System/Threading.h"
|
||||||
@ -62,11 +63,11 @@ void llvm_unreachable_internal(const char *msg, const char *file,
|
|||||||
// llvm_unreachable is intended to be used to indicate "impossible"
|
// llvm_unreachable is intended to be used to indicate "impossible"
|
||||||
// situations, and not legitimate runtime errors.
|
// situations, and not legitimate runtime errors.
|
||||||
if (msg)
|
if (msg)
|
||||||
errs() << msg << "\n";
|
dbgs() << msg << "\n";
|
||||||
errs() << "UNREACHABLE executed";
|
dbgs() << "UNREACHABLE executed";
|
||||||
if (file)
|
if (file)
|
||||||
errs() << " at " << file << ":" << line;
|
dbgs() << " at " << file << ":" << line;
|
||||||
errs() << "!\n";
|
dbgs() << "!\n";
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user