summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit8d0e9d90aaf9475dbfcf1cb712a581a071d07cf0 (patch)
treeeb272d03f6bc817e82e0e0a4aafb9157d38e0168 /llvm/lib/Target
parentfe883adfd236acc22f862159318db1321aacd686 (diff)
downloadbcm5719-llvm-8d0e9d90aaf9475dbfcf1cb712a581a071d07cf0.tar.gz
bcm5719-llvm-8d0e9d90aaf9475dbfcf1cb712a581a071d07cf0.zip
Print:
'' is not a recognized processor for this target (ignoring processor) instead of: is not a recognized processor for this target (ignoring processor) llvm-svn: 23256
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SubtargetFeature.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/SubtargetFeature.cpp b/llvm/lib/Target/SubtargetFeature.cpp
index bcb8f751aac..29afeff8778 100644
--- a/llvm/lib/Target/SubtargetFeature.cpp
+++ b/llvm/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";
}
OpenPOWER on IntegriCloud