LLDB mainline
Static Public Member Functions | List of all members
lldb::SBReproducer Class Reference

The SBReproducer class is special because it bootstraps the capture and replay of SB API calls. More...

#include <SBReproducer.h>

Static Public Member Functions

static const char * Capture ()
 
static const char * Capture (const char *path)
 
static const char * Replay (const char *path)
 
static const char * Replay (const char *path, bool skip_version_check)
 
static const char * Replay (const char *path, const SBReplayOptions &options)
 
static const char * PassiveReplay (const char *path)
 
static const char * Finalize (const char *path)
 
static const char * GetPath ()
 
static bool SetAutoGenerate (bool b)
 
static bool Generate ()
 
static void SetWorkingDirectory (const char *path)
 The working directory is set to the current working directory when the reproducers are initialized.
 

Detailed Description

The SBReproducer class is special because it bootstraps the capture and replay of SB API calls.

As a result we cannot rely on any other SB objects in the interface or implementation of this class.

Definition at line 42 of file SBReproducer.h.

Member Function Documentation

◆ Capture() [1/2]

const char * SBReproducer::Capture ( )
static

Definition at line 60 of file SBReproducer.cpp.

References LLDB_INSTRUMENT.

◆ Capture() [2/2]

const char * SBReproducer::Capture ( const char *  path)
static

Definition at line 65 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ Finalize()

const char * SBReproducer::Finalize ( const char *  path)
static

Definition at line 91 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ Generate()

bool SBReproducer::Generate ( )
static

Definition at line 96 of file SBReproducer.cpp.

References LLDB_INSTRUMENT.

◆ GetPath()

const char * SBReproducer::GetPath ( )
static

Definition at line 106 of file SBReproducer.cpp.

References LLDB_INSTRUMENT.

◆ PassiveReplay()

const char * SBReproducer::PassiveReplay ( const char *  path)
static

Definition at line 70 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ Replay() [1/3]

const char * SBReproducer::Replay ( const char *  path)
static

Definition at line 75 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ Replay() [2/3]

const char * SBReproducer::Replay ( const char *  path,
bool  skip_version_check 
)
static

Definition at line 80 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ Replay() [3/3]

const char * SBReproducer::Replay ( const char *  path,
const SBReplayOptions options 
)
static

Definition at line 85 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ SetAutoGenerate()

bool SBReproducer::SetAutoGenerate ( bool  b)
static

Definition at line 101 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.

◆ SetWorkingDirectory()

void SBReproducer::SetWorkingDirectory ( const char *  path)
static

The working directory is set to the current working directory when the reproducers are initialized.

This method allows setting a different working directory. This is used by the API test suite which temporarily changes the directory to where the test lives. This is a NO-OP in every mode but capture.

Definition at line 111 of file SBReproducer.cpp.

References LLDB_INSTRUMENT_VA.


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