1 //===-- SBReproducer.h ------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_API_SBREPRODUCER_H
10 #define LLDB_API_SBREPRODUCER_H
12 #include "lldb/API/SBDefines.h"
16 /// The SBReproducer class is special because it bootstraps the capture and
17 /// replay of SB API calls. As a result we cannot rely on any other SB objects
18 /// in the interface or implementation of this class.
19 class LLDB_API SBReproducer {
21 static const char *Capture();
22 static const char *Capture(const char *path);
23 static const char *Replay(const char *path);