[Lldb-commits] [lldb] d8e0b13 - [lldb][NFC] Small comment fix in Process.h

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 6 18:54:40 PST 2025


Author: Jason Molenda
Date: 2025-02-06T18:54:30-08:00
New Revision: d8e0b130bd7b2dd168642a82056b8eca21c49f9f

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

LOG: [lldb][NFC] Small comment fix in Process.h

Added: 
    

Modified: 
    lldb/include/lldb/Target/Process.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h
index a184e6dd891affa..c3622a29bc772d7 100644
--- a/lldb/include/lldb/Target/Process.h
+++ b/lldb/include/lldb/Target/Process.h
@@ -1491,10 +1491,11 @@ class Process : public std::enable_shared_from_this<Process>,
   ///     otherwise.
   virtual bool IsAlive();
 
+  /// Check if a process is a live debug session, or a corefile/post-mortem.
   virtual bool IsLiveDebugSession() const { return true; };
 
   /// Provide a way to retrieve the core dump file that is loaded for debugging.
-  /// Only available if IsLiveDebugSession() returns true.
+  /// Only available if IsLiveDebugSession() returns false.
   ///
   /// \return
   ///     File path to the core file.


        


More information about the lldb-commits mailing list