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
9#include "lldb/API/SBReproducer.h"
10#include "lldb/Utility/Instrumentation.h"
11
12using namespace lldb;
13using namespace lldb_private;
14
15SBReplayOptions::SBReplayOptions() = default;
16
17SBReplayOptions::SBReplayOptions(const SBReplayOptions &rhs) = default;
18
19SBReplayOptions::~SBReplayOptions() = default;
20
21SBReplayOptions &SBReplayOptions::operator=(const SBReplayOptions &rhs) {
22 LLDB_INSTRUMENT_VA(this, rhs)
23 return *this;
24}
25
26void SBReplayOptions::SetVerify(bool verify) {
27 LLDB_INSTRUMENT_VA(this, verify);
28}
29
30bool SBReplayOptions::GetVerify() const {
31 LLDB_INSTRUMENT_VA(this);
32 return false;
33}
34
35void SBReplayOptions::SetCheckVersion(bool check) {
36 LLDB_INSTRUMENT_VA(this, check);
37}
38
39bool SBReplayOptions::GetCheckVersion() const {
40 LLDB_INSTRUMENT_VA(this);
41 return false;
42}
43
44const char *SBReproducer::Capture() {
45 LLDB_INSTRUMENT()
46 return "Reproducer capture has been removed";
47}
48
49const char *SBReproducer::Capture(const char *path) {
50 LLDB_INSTRUMENT_VA(path)
51 return "Reproducer capture has been removed";
52}
53
54const char *SBReproducer::PassiveReplay(const char *path) {
55 LLDB_INSTRUMENT_VA(path)
56 return "Reproducer replay has been removed";
57}
58
59const char *SBReproducer::Replay(const char *path) {
60 LLDB_INSTRUMENT_VA(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) {
76 LLDB_INSTRUMENT_VA(path)
77 return "Reproducer finalize has been removed";
78}
79
80bool SBReproducer::Generate() {
81 LLDB_INSTRUMENT()
82 return false;
83}
84
85bool SBReproducer::SetAutoGenerate(bool b) {
86 LLDB_INSTRUMENT_VA(b)
87 return false;
88}
89
90const char *SBReproducer::GetPath() {
91 LLDB_INSTRUMENT()
92 return "Reproducer GetPath has been removed";
93}
94
95void SBReproducer::SetWorkingDirectory(const char *path) {
96 LLDB_INSTRUMENT_VA(path)
97}
98

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of lldb/source/API/SBReproducer.cpp