llvm.org GIT mirror llvm / af6c8cc
Change errs() to dbgs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92637 91177308-0d34-0410-b5e6-96231b3b80d8 David Greene 9 years ago
1 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/ADT/Twine.h"
15 #include "llvm/Support/Debug.h"
1516 #include "llvm/Support/ErrorHandling.h"
1617 #include "llvm/Support/raw_ostream.h"
1718 #include "llvm/System/Threading.h"
6162 // llvm_unreachable is intended to be used to indicate "impossible"
6263 // situations, and not legitimate runtime errors.
6364 if (msg)
64 errs() << msg << "\n";
65 errs() << "UNREACHABLE executed";
65 dbgs() << msg << "\n";
66 dbgs() << "UNREACHABLE executed";
6667 if (file)
67 errs() << " at " << file << ":" << line;
68 errs() << "!\n";
68 dbgs() << " at " << file << ":" << line;
69 dbgs() << "!\n";
6970 abort();
7071 }
7172 }