[Lldb-commits] [PATCH] D117637: Fix build break on CentOS due to gcc 7.3.1

M. Zeeshan Siddiqui via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 18 21:20:28 PST 2022


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);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117637.401094.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220119/09affee4/attachment.bin>


More information about the lldb-commits mailing list