diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-10 14:54:29 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-10 15:02:21 -0800 |
commit | d3ba1e026dbc44e9097ce6ea1c92d065f1fe33e8 (patch) | |
tree | 75f10ba1b306a5b0f67cce1d70deee3050181dbe /lldb/source | |
parent | 987bf8b6c14613da907fa78330415e266b97a036 (diff) | |
download | bcm5719-llvm-d3ba1e026dbc44e9097ce6ea1c92d065f1fe33e8.tar.gz bcm5719-llvm-d3ba1e026dbc44e9097ce6ea1c92d065f1fe33e8.zip |
[lldb/Reproducer] Add SBReproducer::Replay overload (again)
I modified the SBAPI under the assumption that nobody was using the old
API yet. However, that turns out to be false. So instead of adding the
deafault argument I've reintroduced the old API and made the new one an
overload.
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/API/SBReproducer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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))) { |