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

#include <ReproducerProvider.h>

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

Classes

struct  Info
 

Public Member Functions

 FileProvider (const FileSpec &directory)
 
std::shared_ptr< llvm::FileCollectorBase > GetFileCollector ()
 
void RecordInterestingDirectory (const llvm::Twine &dir)
 
void RecordInterestingDirectoryRecursive (const llvm::Twine &dir)
 
- Public Member Functions inherited from lldb_private::repro::Provider< FileProvider >
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 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 Attributes

static char ID = 0
 

Private Attributes

std::shared_ptr< FlushingFileCollectorm_collector
 

Additional Inherited Members

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

Detailed Description

Definition at line 111 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ FileProvider()

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

Member Function Documentation

◆ GetFileCollector()

std::shared_ptr<llvm::FileCollectorBase> lldb_private::repro::FileProvider::GetFileCollector ( )
inline

Definition at line 127 of file ReproducerProvider.h.

References m_collector.

◆ RecordInterestingDirectory()

void FileProvider::RecordInterestingDirectory ( const llvm::Twine &  dir)

Definition at line 82 of file ReproducerProvider.cpp.

◆ RecordInterestingDirectoryRecursive()

void FileProvider::RecordInterestingDirectoryRecursive ( const llvm::Twine &  dir)

Definition at line 87 of file ReproducerProvider.cpp.

Member Data Documentation

◆ ID

char FileProvider::ID = 0
static

Definition at line 134 of file ReproducerProvider.h.

◆ m_collector

std::shared_ptr<FlushingFileCollector> lldb_private::repro::FileProvider::m_collector
private

Definition at line 137 of file ReproducerProvider.h.

Referenced by FileProvider(), and GetFileCollector().


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