[Lldb-commits] [lldb] [LLDB] Extract process arguments from core dump for Linux (PR #185338)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 10 03:45:16 PDT 2026


================
@@ -1506,6 +1523,21 @@ class Process : public std::enable_shared_from_this<Process>,
   ///     File path to the core file.
   virtual FileSpec GetCoreFile() const { return {}; }
 
+  /// Provide arguments of a command that triggers a core dump
+  /// Only available when we have a core file
----------------
DavidSpickett wrote:

Remove this line and instead in the `\return` part, say something like:
```
  The arguments that created the core dump. If this process is a live debug session, returns an empty list of arguments.
```

https://github.com/llvm/llvm-project/pull/185338


More information about the lldb-commits mailing list