summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-07 05:44:14 +0000
committerChris Lattner <sabre@nondot.org>2005-09-07 05:44:14 +0000
commit3eb3369a251db620a5a07ddacb49b4cdd9952dd5 (patch)
tree79d8e0f53f5cbfb113f62fe24d3744a37d1b028f
parent1e111c7bbb50eec1cb1ebc7d12fcfb22c36f8d87 (diff)
downloadexternal_llvm-3eb3369a251db620a5a07ddacb49b4cdd9952dd5.zip
external_llvm-3eb3369a251db620a5a07ddacb49b4cdd9952dd5.tar.gz
external_llvm-3eb3369a251db620a5a07ddacb49b4cdd9952dd5.tar.bz2
Print:
'' is not a recognized processor for this target (ignoring processor) instead of: is not a recognized processor for this target (ignoring processor) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23256 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SubtargetFeature.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/SubtargetFeature.cpp b/lib/Target/SubtargetFeature.cpp
index bcb8f75..29afeff 100644
--- a/lib/Target/SubtargetFeature.cpp
+++ b/lib/Target/SubtargetFeature.cpp
@@ -157,8 +157,8 @@ uint32_t SubtargetFeatures::Parse(const std::string &String,
// Set base feature bits
Bits = CPUEntry->Value;
} else {
- std::cerr << Features[0]
- << " is not a recognized processor for this target"
+ std::cerr << "'" << Features[0]
+ << "' is not a recognized processor for this target"
<< " (ignoring processor)"
<< "\n";
}
@@ -177,8 +177,8 @@ uint32_t SubtargetFeatures::Parse(const std::string &String,
if (isEnabled(Feature)) Bits |= FeatureEntry->Value;
else Bits &= ~FeatureEntry->Value;
} else {
- std::cerr << Feature
- << " is not a recognized feature for this target"
+ std::cerr << "'" << Feature
+ << "' is not a recognized feature for this target"
<< " (ignoring feature)"
<< "\n";
}