blob: 0a25bcbf541e7da4ae588fd978ca6797583a3fc0 [file] [log] [blame]
//===-- SBReproducer.h ------------------------------------------*- C++ -*-===//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "lldb/API/SBDefines.h"
namespace lldb {
/// 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.
class LLDB_API SBReproducer {
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 *GetPath();
static bool SetAutoGenerate(bool b);
static bool Generate();
} // namespace lldb