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

Recorder that records its data as YAML to a file. More...

#include <ReproducerProvider.h>

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

Public Member Functions

 YamlRecorder (const FileSpec &filename, std::error_code &ec)
 
template<typename T >
void Record (const T &t)
 
- Public Member Functions inherited from lldb_private::repro::AbstractRecorder
const FileSpecGetFilename ()
 
void Stop ()
 

Static Public Member Functions

static llvm::Expected< std::unique_ptr< YamlRecorder > > Create (const FileSpec &filename)
 

Additional Inherited Members

- Protected Member Functions inherited from lldb_private::repro::AbstractRecorder
 AbstractRecorder (const FileSpec &filename, std::error_code &ec)
 
- Protected Attributes inherited from lldb_private::repro::AbstractRecorder
llvm::raw_fd_ostream m_os
 
bool m_record
 

Detailed Description

Recorder that records its data as YAML to a file.

Definition at line 74 of file ReproducerProvider.h.

Constructor & Destructor Documentation

◆ YamlRecorder()

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

Definition at line 76 of file ReproducerProvider.h.

Member Function Documentation

◆ Create()

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

Definition at line 31 of file ReproducerProvider.cpp.

◆ Record()

template<typename T >
void lldb_private::repro::YamlRecorder::Record ( const T &  t)
inline

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