mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix an infinite recursion problem. dbgs() should return errs() in
release mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bcb83e5b6c
commit
2ef951e6ee
@ -115,9 +115,9 @@ raw_ostream &llvm::dbgs() {
|
||||
#else
|
||||
// Avoid "has no symbols" warning.
|
||||
namespace llvm {
|
||||
/// dbgs - Return dbgs().
|
||||
/// dbgs - Return errs().
|
||||
raw_ostream &dbgs() {
|
||||
return dbgs();
|
||||
return errs();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user