LLDB
mainline
|
Provider for the LLDB version number. More...
#include <ReproducerProvider.h>
Classes | |
struct | Info |
Public Member Functions | |
VersionProvider (const FileSpec &directory) | |
void | SetVersion (std::string version) |
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... | |
![]() | |
const void * | DynamicClassID () const override |
llvm::StringRef | GetName () const override |
llvm::StringRef | GetFile () const override |
![]() | |
virtual | ~ProviderBase ()=default |
const FileSpec & | GetRoot () 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 |
Public Attributes | |
std::string | m_version |
Static Public Attributes | |
static char | ID = 0 |
Additional Inherited Members | |
![]() | |
static const void * | ClassID () |
![]() | |
static const void * | ClassID () |
![]() | |
ProviderBase (const FileSpec &root) | |
![]() | |
ProviderBase (const FileSpec &root) | |
Provider for the LLDB version number.
When the reproducer is kept, it writes the lldb version to a file named version.txt in the reproducer root.
Definition at line 126 of file ReproducerProvider.h.
|
inline |
Definition at line 128 of file ReproducerProvider.h.
|
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 39 of file ReproducerProvider.cpp.
References lldb_private::FileSpec::CopyByAppendingPathComponent(), and lldb_private::FileSpec::GetPath().
|
inline |
Definition at line 133 of file ReproducerProvider.h.
References m_version.
Referenced by InitializeFileSystem().
|
static |
Definition at line 139 of file ReproducerProvider.h.
std::string lldb_private::repro::VersionProvider::m_version |
Definition at line 138 of file ReproducerProvider.h.
Referenced by SetVersion().