diff options
author | jeffreytan81 <jeffreytan@meta.com> | 2024-02-05 17:40:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 17:40:28 -0800 |
commit | 0123cefc00177e4fc7daa0dadf98ca8336760785 (patch) | |
tree | 5f438b7537c462f758ae99a21ebb80ecb228f614 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | c0cb0be85ca7aa3f9c14f2c8272f581a20474619 (diff) | |
download | llvm-0123cefc00177e4fc7daa0dadf98ca8336760785.zip llvm-0123cefc00177e4fc7daa0dadf98ca8336760785.tar.gz llvm-0123cefc00177e4fc7daa0dadf98ca8336760785.tar.bz2 |
Add a new SBProcess:: GetCoreFile() API (#80767)
We have a Python script that needs to locate coredump path during
debugging so that we can retrieve certain metadata files associated with
it. Currently, there is no API for this.
This patch adds a new `SBProcess::GetCoreFile()` to retrieve target dump
file spec used for dump debugging. Note: this is different from the main
executable module spec. To achieve this, the patch hoists m_core_file
into PostMortemProcess for sharing.
---------
Co-authored-by: jeffreytan81 <jeffreytan@fb.com>
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions