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

#include <Reproducer.h>

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

Classes

struct  Info
 

Public Member Functions

 CommandProvider (const FileSpec &directory)
 
DataRecorderGetNewDataRecorder ()
 
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< CommandProvider >
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
 

Static Public Attributes

static char ID = 0
 

Private Attributes

std::vector< std::unique_ptr< DataRecorder > > m_data_recorders
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::repro::Provider< CommandProvider >
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::ProviderBase
 ProviderBase (const FileSpec &root)
 

Detailed Description

Definition at line 202 of file Reproducer.h.

Constructor & Destructor Documentation

◆ CommandProvider()

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

Definition at line 209 of file Reproducer.h.

Member Function Documentation

◆ Discard()

void CommandProvider::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 307 of file Reproducer.cpp.

◆ GetNewDataRecorder()

DataRecorder * CommandProvider::GetNewDataRecorder ( )

◆ Keep()

void CommandProvider::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 291 of file Reproducer.cpp.

References lldb_private::FileSpec::CopyByAppendingPathComponent(), lldb_private::FileSpec::GetPath(), and lldb_private::repro::Loader::GetRoot().

Member Data Documentation

◆ ID

char CommandProvider::ID = 0
static

Definition at line 216 of file Reproducer.h.

Referenced by lldb_private::repro::ProviderBase::anchor().

◆ m_data_recorders

std::vector<std::unique_ptr<DataRecorder> > lldb_private::repro::CommandProvider::m_data_recorders
private

Definition at line 219 of file Reproducer.h.


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