Skip to content

Commit 4ea1f88

Browse files
authored
Merge pull request #558 from JDevlieghere/🍒/d3ba1e026db
🍒-pick d3ba1e0
2 parents 7cfe3f6 + dcd5df5 commit 4ea1f88

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lldb/include/lldb/API/SBReproducer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class LLDB_API SBReproducer {
2020
public:
2121
static const char *Capture();
2222
static const char *Capture(const char *path);
23-
static const char *Replay(const char *path, bool skip_version_check = false);
23+
static const char *Replay(const char *path);
24+
static const char *Replay(const char *path, bool skip_version_check);
2425
static const char *GetPath();
2526
static bool Generate();
2627
};

lldb/source/API/SBReproducer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ const char *SBReproducer::Capture(const char *path) {
124124
return nullptr;
125125
}
126126

127+
const char *SBReproducer::Replay(const char *path) {
128+
return SBReproducer::Replay(path, false);
129+
}
130+
127131
const char *SBReproducer::Replay(const char *path, bool skip_version_check) {
128132
static std::string error;
129133
if (auto e = Reproducer::Initialize(ReproducerMode::Replay, FileSpec(path))) {

0 commit comments

Comments
 (0)