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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 9 08:02:18 PDT 2026


================
@@ -1505,6 +1521,20 @@ class Process : public std::enable_shared_from_this<Process>,
   /// \return
   ///     File path to the core file.
   virtual FileSpec GetCoreFile() const { return {}; }
+  std::string GetCoreFileCommandString() {
+    if (!IsLiveDebugSession() && GetPluginName().contains("core")) {
----------------
JDevlieghere wrote:

Rather than checking the plugin name, should this use `GetCoreFile` instead?

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


More information about the lldb-commits mailing list