LLDB mainline
SBReproducer.cpp
Go to the documentation of this file.
1//===-- SBReproducer.cpp --------------------------------------------------===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8
11
12using namespace lldb;
13using namespace lldb_private;
14
16
18
20
22 LLDB_INSTRUMENT_VA(this, rhs)
23 return *this;
24}
25
26void SBReplayOptions::SetVerify(bool verify) {
27 LLDB_INSTRUMENT_VA(this, verify);
28}
29
32 return false;
33}
34
36 LLDB_INSTRUMENT_VA(this, check);
37}
38
41 return false;
42}
43
44const char *SBReproducer::Capture() {
46 return "Reproducer capture has been removed";
47}
48
49const char *SBReproducer::Capture(const char *path) {
51 return "Reproducer capture has been removed";
52}
53
54const char *SBReproducer::PassiveReplay(const char *path) {
56 return "Reproducer replay has been removed";
57}
58
59const char *SBReproducer::Replay(const char *path) {
61 return "Reproducer replay has been removed";
62}
63
64const char *SBReproducer::Replay(const char *path, bool skip_version_check) {
65 LLDB_INSTRUMENT_VA(path, skip_version_check)
66 return "Reproducer replay has been removed";
67}
68
69const char *SBReproducer::Replay(const char *path,
70 const SBReplayOptions &options) {
71 LLDB_INSTRUMENT_VA(path, options)
72 return "Reproducer replay has been removed";
73}
74
75const char *SBReproducer::Finalize(const char *path) {
77 return "Reproducer finalize has been removed";
78}
79
82 return false;
83}
84
87 return false;
88}
89
90const char *SBReproducer::GetPath() {
92 return "Reproducer GetPath has been removed";
93}
94
95void SBReproducer::SetWorkingDirectory(const char *path) {
97}
#define LLDB_INSTRUMENT()
#define LLDB_INSTRUMENT_VA(...)
void SetCheckVersion(bool check)
bool GetCheckVersion() const
SBReplayOptions & operator=(const SBReplayOptions &rhs)
void SetVerify(bool verify)
static const char * Replay(const char *path)
static const char * GetPath()
static void SetWorkingDirectory(const char *path)
The working directory is set to the current working directory when the reproducers are initialized.
static bool SetAutoGenerate(bool b)
static const char * Finalize(const char *path)
static const char * PassiveReplay(const char *path)
static const char * Capture()
static bool Generate()
A class that represents a running process on the host machine.