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

#include <Reproducer.h>

Public Member Functions

 DataRecorder (FileSpec filename, std::error_code &ec)
 
template<typename T >
void Record (const T &t, bool newline=false)
 
const FileSpecGetFilename ()
 
void Stop ()
 

Static Public Member Functions

static llvm::Expected< std::unique_ptr< DataRecorder > > Create (FileSpec filename)
 

Detailed Description

Definition at line 114 of file Reproducer.h.

Constructor & Destructor Documentation

◆ DataRecorder()

lldb_private::repro::DataRecorder::DataRecorder ( FileSpec  filename,
std::error_code &  ec 
)
inline

Definition at line 116 of file Reproducer.h.

Member Function Documentation

◆ Create()

llvm::Expected< std::unique_ptr< DataRecorder > > DataRecorder::Create ( FileSpec  filename)
static

◆ GetFilename()

const FileSpec& lldb_private::repro::DataRecorder::GetFilename ( )
inline

Definition at line 131 of file Reproducer.h.

◆ Record()

template<typename T >
void lldb_private::repro::DataRecorder::Record ( const T &  t,
bool  newline = false 
)
inline

Definition at line 123 of file Reproducer.h.

Referenced by lldb_private::IOHandlerEditline::GetLine().

◆ Stop()

void lldb_private::repro::DataRecorder::Stop ( )
inline

Definition at line 133 of file Reproducer.h.


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