summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/API/SBReproducer.h3
-rw-r--r--lldb/source/API/SBReproducer.cpp4
2 files changed, 6 insertions, 1 deletions
diff --git a/lldb/include/lldb/API/SBReproducer.h b/lldb/include/lldb/API/SBReproducer.h
index 8bb530a0fe4..93d78f55fd7 100644
--- a/lldb/include/lldb/API/SBReproducer.h
+++ b/lldb/include/lldb/API/SBReproducer.h
@@ -20,7 +20,8 @@ class LLDB_API SBReproducer {
public:
static const char *Capture();
static const char *Capture(const char *path);
- static const char *Replay(const char *path, bool skip_version_check = false);
+ static const char *Replay(const char *path);
+ static const char *Replay(const char *path, bool skip_version_check);
static const char *GetPath();
static bool Generate();
};
diff --git a/lldb/source/API/SBReproducer.cpp b/lldb/source/API/SBReproducer.cpp
index 1107161a419..3d2de072744 100644
--- a/lldb/source/API/SBReproducer.cpp
+++ b/lldb/source/API/SBReproducer.cpp
@@ -124,6 +124,10 @@ const char *SBReproducer::Capture(const char *path) {
return nullptr;
}
+const char *SBReproducer::Replay(const char *path) {
+ return SBReproducer::Replay(path, false);
+}
+
const char *SBReproducer::Replay(const char *path, bool skip_version_check) {
static std::string error;
if (auto e = Reproducer::Initialize(ReproducerMode::Replay, FileSpec(path))) {
OpenPOWER on IntegriCloud