[Lldb-commits] [lldb] c9fc433 - [lldb] Fix building with GCC 7

Martin Storsjö via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 20 15:08:18 PDT 2022


Author: Martin Storsjö
Date: 2022-06-21T00:19:09+03:00
New Revision: c9fc4336d4b35cd1ed8083336c997c159f286794

URL: https://github.com/llvm/llvm-project/commit/c9fc4336d4b35cd1ed8083336c997c159f286794
DIFF: https://github.com/llvm/llvm-project/commit/c9fc4336d4b35cd1ed8083336c997c159f286794.diff

LOG: [lldb] Fix building with GCC 7

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp b/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp
index 7183b213e340f..9e486c15b5302 100644
--- a/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp
+++ b/lldb/source/Plugins/Process/Linux/IntelPTPerThreadProcessTrace.cpp
@@ -62,5 +62,5 @@ IntelPTPerThreadProcessTrace::Start(const TraceIntelPTStartRequest &request,
     error = joinErrors(std::move(error), trace->TraceStart(tid));
   if (error)
     return std::move(error);
-  return trace;
+  return std::move(trace);
 }


        


More information about the lldb-commits mailing list