labath added inline comments.
Comment at: lldb/include/lldb/API/SBError.h:95
private:
- std::unique_ptr m_opaque_up;
+ std::shared_ptr m_opaque_sp;
This is technically an ABI break (changes `sizeof(SBError)`). I don't care, but
someone might.
mib added inline comments.
Comment at:
lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp:186
+ StatusSP status_sp = std::make_shared(error);
+ PythonObject* sb_error = new PythonObject(ToSWIGWrapper(status_sp));
+
@labath In
mib created this revision.
mib added reviewers: labath, JDevlieghere.
mib added a project: LLDB.
Herald added a project: All.
mib requested review of this revision.
Herald added a subscriber: lldb-commits.
This patch should improve error reporting by passing the status object from the
Scripted