[Lldb-commits] [lldb] Add a new SBProcess:: GetCoreFile() API (PR #80767)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 16:16:53 PST 2024


================
@@ -398,6 +398,13 @@ class LLDB_API SBProcess {
   /// valid.
   lldb::SBProcessInfo GetProcessInfo();
 
+  /// Return target dump file during postmortem debugging.
+  /// An empty file will be returned for live debugging.
----------------
clayborg wrote:

```
/// Get the file specification for the core file that is currently being used 
/// for the process. If the process is not loaded from a core file, then an
/// invalid file specification will be returned.
```

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


More information about the lldb-commits mailing list