codemzs created this revision.
codemzs added reviewers: mgorny, labath, emaste, krytarowski, stella.stamenova.
codemzs requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Pursuant to discussion here https://reviews.llvm.org/D117113
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117637
Files:
lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
Index: lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
===================================================================
--- lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -549,5 +549,5 @@
GetProcess().GetSignalInfo(GetID(), siginfo_buf->getBufferStart());
if (!error.Success())
return error.ToError();
- return siginfo_buf;
+ return std::move(siginfo_buf);
}
Index: lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
===================================================================
--- lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -549,5 +549,5 @@
GetProcess().GetSignalInfo(GetID(), siginfo_buf->getBufferStart());
if (!error.Success())
return error.ToError();
- return siginfo_buf;
+ return std::move(siginfo_buf);
}
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits