22 if (dump_mask & eDumpOptionType)
23 strm.
Printf(
"(%s)", GetTypeAsCString());
24 if (dump_mask & eDumpOptionValue) {
25 if (dump_mask & eDumpOptionType)
28 if (m_current_value.IsValid()) {
29 const char *arch_name = m_current_value.GetArchitectureName();
36 Status OptionValueArch::SetValueFromString(llvm::StringRef value,
48 if (m_current_value.SetTriple(value_str.c_str())) {
49 m_value_was_set =
true;
52 error.SetErrorStringWithFormat(
"unsupported architecture '%s'",
61 error = OptionValue::SetValueFromString(value, op);
69 CommandCompletions::InvokeCommonCompletionCallbacks(
70 interpreter, CommandCompletions::eArchitectureCompletion, request,