LLDB  mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
lldb_private::repro::ProviderBase Class Referenceabstract

The provider defines an interface for generating files needed for reproducing. More...

#include <Reproducer.h>

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

Public Member Functions

virtual ~ProviderBase ()=default
 
const FileSpecGetRoot () const
 
virtual void Keep ()
 The Keep method is called when it is decided that we need to keep the data in order to provide a reproducer. More...
 
virtual void Discard ()
 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...
 
virtual const void * DynamicClassID () const =0
 
virtual llvm::StringRef GetName () const =0
 
virtual llvm::StringRef GetFile () const =0
 

Static Public Member Functions

static const void * ClassID ()
 

Protected Member Functions

 ProviderBase (const FileSpec &root)
 

Private Member Functions

virtual void anchor ()
 

Private Attributes

FileSpec m_root
 Every provider knows where to dump its potential files. More...
 

Static Private Attributes

static char ID = 0
 

Detailed Description

The provider defines an interface for generating files needed for reproducing.

Different components will implement different providers.

Definition at line 41 of file Reproducer.h.

Constructor & Destructor Documentation

◆ ~ProviderBase()

virtual lldb_private::repro::ProviderBase::~ProviderBase ( )
virtualdefault

◆ ProviderBase()

lldb_private::repro::ProviderBase::ProviderBase ( const FileSpec root)
inlineprotected

Definition at line 65 of file Reproducer.h.

Member Function Documentation

◆ anchor()

void ProviderBase::anchor ( )
privatevirtual

Definition at line 199 of file ReproducerProvider.cpp.

◆ ClassID()

static const void* lldb_private::repro::ProviderBase::ClassID ( )
inlinestatic

Definition at line 56 of file Reproducer.h.

References ID.

◆ Discard()

virtual void lldb_private::repro::ProviderBase::Discard ( )
inlinevirtual

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 in lldb_private::repro::ProcessInfoProvider, lldb_private::repro::MultiProvider< T, V >, lldb_private::repro::MultiProvider< DataRecorder, CommandProvider >, and lldb_private::repro::GDBRemoteProvider.

Definition at line 53 of file Reproducer.h.

◆ DynamicClassID()

virtual const void* lldb_private::repro::ProviderBase::DynamicClassID ( ) const
pure virtual

◆ GetFile()

virtual llvm::StringRef lldb_private::repro::ProviderBase::GetFile ( ) const
pure virtual

◆ GetName()

virtual llvm::StringRef lldb_private::repro::ProviderBase::GetName ( ) const
pure virtual

◆ GetRoot()

const FileSpec& lldb_private::repro::ProviderBase::GetRoot ( ) const
inline

◆ Keep()

virtual void lldb_private::repro::ProviderBase::Keep ( )
inlinevirtual

Member Data Documentation

◆ ID

char ProviderBase::ID = 0
staticprivate

Definition at line 72 of file Reproducer.h.

Referenced by ClassID().

◆ m_root

FileSpec lldb_private::repro::ProviderBase::m_root
private

Every provider knows where to dump its potential files.

Definition at line 69 of file Reproducer.h.

Referenced by GetRoot().


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