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

Provider for the current working directory. More...

#include <ReproducerProvider.h>

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

Classes

struct  Info
 

Public Member Functions

 WorkingDirectoryProvider (const FileSpec &directory)
 
- Public Member Functions inherited from lldb_private::repro::DirectoryProvider< WorkingDirectoryProvider >
 DirectoryProvider (const FileSpec &root)
 
void SetDirectory (std::string directory)
 
llvm::StringRef GetDirectory ()
 
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...
 
- Public Member Functions inherited from lldb_private::repro::Provider< WorkingDirectoryProvider >
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 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
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::repro::Provider< WorkingDirectoryProvider >
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< WorkingDirectoryProvider >
 ProviderBase (const FileSpec &root)
 
- Protected Member Functions inherited from lldb_private::repro::ProviderBase
 ProviderBase (const FileSpec &root)
 
- Protected Attributes inherited from lldb_private::repro::DirectoryProvider< WorkingDirectoryProvider >
std::string m_directory
 

Detailed Description

Provider for the current working directory.

When the reproducer is kept, it writes lldb's current working directory to a file named cwd.txt in the reproducer root.

Definition at line 186 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ WorkingDirectoryProvider()

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

Member Data Documentation

◆ ID

char WorkingDirectoryProvider::ID = 0
static

Definition at line 200 of file ReproducerProvider.h.


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