[Lldb-commits] [lldb] [LLDB][SBSaveCore] Implement a selectable threadlist for Core Options. (PR #100443)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 25 11:25:09 PDT 2024
================
@@ -75,6 +77,18 @@ lldb::SaveCoreStyle SBSaveCoreOptions::GetStyle() const {
return m_opaque_up->GetStyle();
}
+SBError SBSaveCoreOptions::SetProcess(lldb::SBProcess process) {
+ return m_opaque_up->SetProcess(process.GetSP());
+}
+
+SBError SBSaveCoreOptions::AddThread(lldb::SBThread thread) {
+ return m_opaque_up->AddThread(thread.get());
----------------
bulbazord wrote:
+1. Thread also has `enable_shared_from_this`, so that is an option as well.
https://github.com/llvm/llvm-project/pull/100443
More information about the lldb-commits
mailing list