Go to the documentation of this file.
37 : m_opaque_up(std::make_unique<
ReplayOptions>(*rhs.m_opaque_up)) {}
70 if (
auto e = Reproducer::Initialize(ReproducerMode::Capture, llvm::None)) {
82 Reproducer::Initialize(ReproducerMode::Capture,
FileSpec(path))) {
92 return "Reproducer replay has been removed";
97 return "Reproducer replay has been removed";
113 return "Reproducer finalize has been removed";
118 auto &r = Reproducer::Instance();
119 if (
auto generator = r.GetGenerator()) {
128 auto &r = Reproducer::Instance();
129 if (
auto generator = r.GetGenerator()) {
130 generator->SetAutoGenerate(b);
139 auto &r = Reproducer::Instance();
140 if (
FileSpec reproducer_path = Reproducer::Instance().GetReproducerPath())
141 path =
ConstString(r.GetReproducerPath().GetCString());
151 fp.RecordInterestingDirectory(wp.GetDirectory());
const char * toString(AppleArm64ExceptionClass EC)
static const char * Finalize(const char *path)
bool GetCheckVersion() const
static const char * PassiveReplay(const char *path)
#define LLDB_INSTRUMENT()
void SetVerify(bool verify)
static llvm::raw_ostream & error(Stream &strm)
SBReplayOptions & operator=(const SBReplayOptions &rhs)
string(SUBSTRING ${p} 10 -1 pStripped) if($
static bool SetAutoGenerate(bool b)
void SetCheckVersion(bool check)
const char * GetCString() const
Get the string value as a C string.
static const char * GetPath()
A class that represents a running process on the host machine.
static void SetWorkingDirectory(const char *path)
The working directory is set to the current working directory when the reproducers are initialized.
#define LLDB_INSTRUMENT_VA(...)
static Reproducer & Instance()
static const char * Capture()
static const char * Replay(const char *path)
void SetDirectory(std::string directory)
Provider for the current working directory.
std::unique_ptr< lldb_private::repro::ReplayOptions > m_opaque_up