Unverified Commit 0123cefc authored by jeffreytan81's avatar jeffreytan81 Committed by GitHub
Browse files

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: default avatarjeffreytan81 <jeffreytan@fb.com>
parent c0cb0be8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment