9#ifndef LLDB_SOURCE_PLUGINS_OBJECTFILE_SaveCoreOPTIONS_H
10#define LLDB_SOURCE_PLUGINS_OBJECTFILE_SaveCoreOPTIONS_H
18#include <unordered_set>
34 const std::optional<lldb_private::FileSpec>
GetOutputFile()
const;
50 std::optional<lldb_private::FileSpec>
m_file;
51 std::optional<lldb::SaveCoreStyle>
m_style;
lldb::ProcessSP m_process_sp
Status SetProcess(lldb::ProcessSP process_sp)
lldb_private::Status SetPluginName(const char *name)
~SaveCoreOptions()=default
bool RemoveThread(lldb::ThreadSP thread_sp)
const std::optional< lldb_private::FileSpec > GetOutputFile() const
lldb::SaveCoreStyle GetStyle() const
Status AddThread(lldb::ThreadSP thread_sp)
std::optional< std::string > m_plugin_name
void SetStyle(lldb::SaveCoreStyle style)
std::optional< std::string > GetPluginName() const
std::optional< lldb::SaveCoreStyle > m_style
void SetOutputFile(lldb_private::FileSpec file)
void ClearProcessSpecificData()
std::unordered_set< lldb::tid_t > m_threads_to_save
Status EnsureValidConfiguration(lldb::ProcessSP process_sp) const
bool ShouldThreadBeSaved(lldb::tid_t tid) const
std::optional< lldb_private::FileSpec > m_file
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Thread > ThreadSP
std::shared_ptr< lldb_private::Process > ProcessSP