aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreter.cpp
diff options
context:
space:
mode:
authorMuhammad Omair Javaid <omair.javaid@linaro.org>2022-12-19 13:50:31 +0500
committerMuhammad Omair Javaid <omair.javaid@linaro.org>2022-12-19 13:52:10 +0500
commit58e9cc13e24f668a33abdae201d59a02e10c22c0 (patch)
tree1ce7b2762a4cdfbee3cb63617038166a86f56d29 /lldb/source/Interpreter/ScriptInterpreter.cpp
parent0fe37a75a50bc54d93db299f3126b49b92a8d363 (diff)
downloadllvm-58e9cc13e24f668a33abdae201d59a02e10c22c0.zip
llvm-58e9cc13e24f668a33abdae201d59a02e10c22c0.tar.gz
llvm-58e9cc13e24f668a33abdae201d59a02e10c22c0.tar.bz2
Revert "[lldb] Remove redundant .c_str() and .get() calls"
This reverts commit fbaf48be0ff6fb24b9aa8fe9c2284fe88a8798dd. This has broken all LLDB buildbots: https://lab.llvm.org/buildbot/#/builders/68/builds/44990 https://lab.llvm.org/buildbot/#/builders/96/builds/33160
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/ScriptInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp
index 9572176..0820755 100644
--- a/lldb/source/Interpreter/ScriptInterpreter.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreter.cpp
@@ -82,7 +82,7 @@ ScriptInterpreter::GetDataExtractorFromSBData(const lldb::SBData &data) const {
Status
ScriptInterpreter::GetStatusFromSBError(const lldb::SBError &error) const {
if (error.m_opaque_up)
- return *error.m_opaque_up;
+ return *error.m_opaque_up.get();
return Status();
}