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
10#include "lldb/API/LLDB.h"
11#include "lldb/API/SBAddress.h"
13#include "lldb/API/SBBlock.h"
17#include "lldb/API/SBData.h"
18#include "lldb/API/SBDebugger.h"
20#include "lldb/API/SBError.h"
21#include "lldb/API/SBFileSpec.h"
22#include "lldb/API/SBHostOS.h"
26
27using namespace lldb;
28using namespace lldb_private;
29using namespace lldb_private::repro;
30
32
34
36
38 LLDB_INSTRUMENT_VA(this, rhs)
39 return *this;
40}
41
42void SBReplayOptions::SetVerify(bool verify) {
43 LLDB_INSTRUMENT_VA(this, verify);
44}
45
48 return false;
49}
50
52 LLDB_INSTRUMENT_VA(this, check);
53}
54
57 return false;
58}
59
60const char *SBReproducer::Capture() {
62 return "Reproducer capture has been removed";
63}
64
65const char *SBReproducer::Capture(const char *path) {
67 return "Reproducer capture has been removed";
68}
69
70const char *SBReproducer::PassiveReplay(const char *path) {
72 return "Reproducer replay has been removed";
73}
74
75const char *SBReproducer::Replay(const char *path) {
77 return "Reproducer replay has been removed";
78}
79
80const char *SBReproducer::Replay(const char *path, bool skip_version_check) {
81 LLDB_INSTRUMENT_VA(path, skip_version_check)
82 return "Reproducer replay has been removed";
83}
84
85const char *SBReproducer::Replay(const char *path,
86 const SBReplayOptions &options) {
87 LLDB_INSTRUMENT_VA(path, options)
88 return "Reproducer replay has been removed";
89}
90
91const char *SBReproducer::Finalize(const char *path) {
93 return "Reproducer finalize has been removed";
94}
95
98 return false;
99}
100
103 return false;
104}
105
108 return "Reproducer GetPath has been removed";
109}
110
111void SBReproducer::SetWorkingDirectory(const char *path) {
113}
#define LLDB_INSTRUMENT()
#define LLDB_INSTRUMENT_VA(...)
void SetCheckVersion(bool check)
bool GetCheckVersion() const
bool GetVerify() 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.
Definition: SBAddress.h:15