9#ifndef LLDB_SOURCE_PLUGINS_OBJECTFILE_SaveCoreOPTIONS_H
10#define LLDB_SOURCE_PLUGINS_OBJECTFILE_SaveCoreOPTIONS_H
18#include <unordered_set>
36 const std::optional<lldb_private::FileSpec>
GetOutputFile()
const;
56 std::optional<lldb_private::FileSpec>
m_file;
57 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)
MemoryRanges m_regions_to_save
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)
void AddMemoryRegionToSave(const lldb_private::MemoryRegionInfo ®ion)
bool HasSpecifiedThreads() const
std::optional< std::string > GetPluginName() const
const MemoryRanges & GetCoreFileMemoryRanges() 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