aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 17:47:41 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 17:47:41 +0000
commit144cccb91d9f69675c35ada0241ac2d6c0ae9552 (patch)
treec214919efb475edc6cbecfe8e31f7190213615ab /utils
parent3b620bfd58cf1e1d84563eb6208418858e903a42 (diff)
downloadexternal_llvm-144cccb91d9f69675c35ada0241ac2d6c0ae9552.zip
external_llvm-144cccb91d9f69675c35ada0241ac2d6c0ae9552.tar.gz
external_llvm-144cccb91d9f69675c35ada0241ac2d6c0ae9552.tar.bz2
Have TableGen emit code that uses dbgs() rather than errs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/SubtargetEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp
index 0dbfcbe..9ac652f 100644
--- a/utils/TableGen/SubtargetEmitter.cpp
+++ b/utils/TableGen/SubtargetEmitter.cpp
@@ -519,8 +519,8 @@ void SubtargetEmitter::ParseFeaturesFunction(raw_ostream &OS) {
OS << Target;
OS << "Subtarget::ParseSubtargetFeatures(const std::string &FS,\n"
<< " const std::string &CPU) {\n"
- << " DEBUG(errs() << \"\\nFeatures:\" << FS);\n"
- << " DEBUG(errs() << \"\\nCPU:\" << CPU);\n"
+ << " DEBUG(dbgs() << \"\\nFeatures:\" << FS);\n"
+ << " DEBUG(dbgs() << \"\\nCPU:\" << CPU);\n"
<< " SubtargetFeatures Features(FS);\n"
<< " Features.setCPUIfNone(CPU);\n"
<< " uint32_t Bits = Features.getBits(SubTypeKV, SubTypeKVSize,\n"