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
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 @@
// 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 @@
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";
}