LLDB
mainline
|
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. More... | |
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 43 of file SBReproducer.h.
|
static |
Definition at line 67 of file SBReproducer.cpp.
References error(), LLDB_INSTRUMENT, string(), and lldb_private::toString().
|
static |
Definition at line 78 of file SBReproducer.cpp.
References error(), LLDB_INSTRUMENT_VA, string(), and lldb_private::toString().
|
static |
Definition at line 111 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA.
|
static |
Definition at line 116 of file SBReproducer.cpp.
References LLDB_INSTRUMENT.
|
static |
Definition at line 136 of file SBReproducer.cpp.
References lldb_private::ConstString::GetCString(), and LLDB_INSTRUMENT.
|
static |
Definition at line 90 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA.
|
static |
Definition at line 95 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by Replay().
|
static |
Definition at line 100 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA, and Replay().
|
static |
Definition at line 105 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA, and Replay().
|
static |
Definition at line 126 of file SBReproducer.cpp.
References LLDB_INSTRUMENT_VA.
|
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 145 of file SBReproducer.cpp.
References fp, lldb_private::repro::Reproducer::Instance(), LLDB_INSTRUMENT_VA, and lldb_private::repro::DirectoryProvider< T >::SetDirectory().