LLDB  mainline
Classes | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
lldb_private::repro::ProcessInfoProvider Class Reference

#include <ReproducerProvider.h>

Inheritance diagram for lldb_private::repro::ProcessInfoProvider:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::repro::ProcessInfoProvider:
Collaboration graph
[legend]

Classes

struct  Info
 

Public Member Functions

 ProcessInfoProvider (const FileSpec &directory)
 
ProcessInfoRecorderGetNewProcessInfoRecorder ()
 
void Keep () override
 The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer. More...
 
void Discard () override
 The Discard method is called when it is decided that we do not need to keep any information and will not generate a reproducer. More...
 
- Public Member Functions inherited from lldb_private::repro::Provider< ProcessInfoProvider >
const void * DynamicClassID () const override
 
llvm::StringRef GetName () const override
 
llvm::StringRef GetFile () const override
 
- Public Member Functions inherited from lldb_private::repro::ProviderBase
virtual ~ProviderBase ()=default
 
const FileSpecGetRoot () const
 
virtual const void * DynamicClassID () const =0
 
virtual llvm::StringRef GetName () const =0
 
virtual llvm::StringRef GetFile () const =0
 

Static Public Attributes

static char ID = 0
 

Private Attributes

std::unique_ptr< llvm::raw_fd_ostream > m_stream_up
 
std::vector< std::unique_ptr< ProcessInfoRecorder > > m_process_info_recorders
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::repro::Provider< ProcessInfoProvider >
static const void * ClassID ()
 
- Static Public Member Functions inherited from lldb_private::repro::ProviderBase
static const void * ClassID ()
 
- Protected Member Functions inherited from lldb_private::repro::Provider< ProcessInfoProvider >
 ProviderBase (const FileSpec &root)
 
- Protected Member Functions inherited from lldb_private::repro::ProviderBase
 ProviderBase (const FileSpec &root)
 

Detailed Description

Definition at line 331 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ ProcessInfoProvider()

lldb_private::repro::ProcessInfoProvider::ProcessInfoProvider ( const FileSpec directory)
inline

Definition at line 338 of file ReproducerProvider.h.

Member Function Documentation

◆ Discard()

void ProcessInfoProvider::Discard ( )
overridevirtual

The Discard method is called when it is decided that we do not need to keep any information and will not generate a reproducer.

Reimplemented from lldb_private::repro::ProviderBase.

Definition at line 118 of file ReproducerProvider.cpp.

◆ GetNewProcessInfoRecorder()

ProcessInfoRecorder * ProcessInfoProvider::GetNewProcessInfoRecorder ( )

◆ Keep()

void ProcessInfoProvider::Keep ( )
overridevirtual

The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer.

Reimplemented from lldb_private::repro::ProviderBase.

Definition at line 102 of file ReproducerProvider.cpp.

References lldb_private::FileSpec::CopyByAppendingPathComponent(), and lldb_private::FileSpec::GetPath().

Member Data Documentation

◆ ID

char ProcessInfoProvider::ID = 0
static

Definition at line 345 of file ReproducerProvider.h.

◆ m_process_info_recorders

std::vector<std::unique_ptr<ProcessInfoRecorder> > lldb_private::repro::ProcessInfoProvider::m_process_info_recorders
private

Definition at line 349 of file ReproducerProvider.h.

◆ m_stream_up

std::unique_ptr<llvm::raw_fd_ostream> lldb_private::repro::ProcessInfoProvider::m_stream_up
private

Definition at line 348 of file ReproducerProvider.h.


The documentation for this class was generated from the following files: