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

#include <GDBRemote.h>

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

Public Member Functions

 PacketRecorder (const FileSpec &filename, std::error_code &ec)
 
void Record (const GDBRemotePacket &packet)
 
- Public Member Functions inherited from lldb_private::repro::AbstractRecorder
const FileSpecGetFilename ()
 
void Stop ()
 

Static Public Member Functions

static llvm::Expected< std::unique_ptr< PacketRecorder > > 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

Definition at line 85 of file GDBRemote.h.

Constructor & Destructor Documentation

◆ PacketRecorder()

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

Definition at line 87 of file GDBRemote.h.

Member Function Documentation

◆ Create()

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

Definition at line 117 of file GDBRemote.cpp.

◆ Record()

void PacketRecorder::Record ( const GDBRemotePacket packet)

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