[Lldb-commits] [lldb] 3b426a8 - [lldb] Convert NativeProcessLinux to new Status API (NFC)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 5 12:53:16 PDT 2024


Author: Adrian Prantl
Date: 2024-09-05T12:53:08-07:00
New Revision: 3b426a8951caa543b65f20ff265353fd79f436e5

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

LOG: [lldb] Convert NativeProcessLinux to new Status API (NFC)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
index cea3fbf9112f52..5c262db8db7fde 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -1098,7 +1098,7 @@ Status NativeProcessLinux::Detach() {
     Status e = Detach(thread->GetID());
      // Save the error, but still attempt to detach from other threads.
     if (e.Fail())
-      error = e.Clone;
+      error = e.Clone();
   }
 
   m_intel_pt_collector.Clear();


        


More information about the lldb-commits mailing list