================
@@ -34,7 +34,7 @@ PythonObject SWIGBridge::ToSWIGWrapper(lldb::BreakpointSP 
breakpoint_sp) {
 }
 
 PythonObject SWIGBridge::ToSWIGWrapper(const Status& status) {
----------------
labath wrote:

Maybe take the object by value and then move it into SBError, so that the 
caller has a chance to avoid copies (I expect most of them will not want to 
retain the status object)?

https://github.com/llvm/llvm-project/pull/107170
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to