[Lldb-commits] [lldb] [LLDB] Add a StackFrameRecognizer for the Darwin specific abort_with_payload… (PR #101365)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 1 12:26:21 PDT 2024
================
@@ -2570,6 +2570,18 @@ void PruneThreadPlans();
/// information related to the process.
virtual StructuredData::DictionarySP GetMetadata() { return nullptr; }
+ /// Fetch extended crash information held by the process. This will never be
+ /// an empty shared pointer, it will always have a dict, though it may be
+ /// empty.
+ StructuredData::DictionarySP GetExtendedCrashInfoDict() {
----------------
JDevlieghere wrote:
Why not add an `assert(m_crash_info_dict_sp && "DictionarySP must be valid")` to enforce that precondition?
https://github.com/llvm/llvm-project/pull/101365
More information about the lldb-commits
mailing list