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


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to