diff options
| author | Zachary Turner <zturner@google.com> | 2016-11-17 23:47:31 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-11-17 23:47:31 +0000 |
| commit | ac96f66addf0d998f975439533518d3889805565 (patch) | |
| tree | d2bd47f5b6d79659c2f8e17f4452436b95e0ac09 /lldb/source/Core/ValueObjectVariable.cpp | |
| parent | 8df8046bd9ef12e908adf7c2522142b62232e4b5 (diff) | |
| download | bcm5719-llvm-ac96f66addf0d998f975439533518d3889805565.tar.gz bcm5719-llvm-ac96f66addf0d998f975439533518d3889805565.zip | |
Resubmit "Change RegisterValue getters / setters to use StringRef."
This resubmits r287279 with a fix for the original issue, which
was a trivial typo.
llvm-svn: 287282
Diffstat (limited to 'lldb/source/Core/ValueObjectVariable.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObjectVariable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectVariable.cpp b/lldb/source/Core/ValueObjectVariable.cpp index f0695d85ac2..f8eedc30e70 100644 --- a/lldb/source/Core/ValueObjectVariable.cpp +++ b/lldb/source/Core/ValueObjectVariable.cpp @@ -343,7 +343,7 @@ bool ValueObjectVariable::SetValueFromCString(const char *value_str, error.SetErrorString("unable to retrieve register info"); return false; } - error = reg_value.SetValueFromCString(reg_info, value_str); + error = reg_value.SetValueFromString(reg_info, llvm::StringRef(value_str)); if (error.Fail()) return false; if (reg_ctx->WriteRegister(reg_info, reg_value)) { |

