aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBReproducer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBReproducer.cpp')
-rw-r--r--lldb/source/API/SBReproducer.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/lldb/source/API/SBReproducer.cpp b/lldb/source/API/SBReproducer.cpp
index d3d27cc57748..7431b49d3ea6 100644
--- a/lldb/source/API/SBReproducer.cpp
+++ b/lldb/source/API/SBReproducer.cpp
@@ -110,20 +110,7 @@ const char *SBReproducer::Replay(const char *path,
const char *SBReproducer::Finalize(const char *path) {
LLDB_INSTRUMENT_VA(path)
- static std::string error;
-
- repro::Loader *loader = repro::Reproducer::Instance().GetLoader();
- if (!loader) {
- error = "unable to get replay loader.";
- return error.c_str();
- }
-
- if (auto e = repro::Finalize(loader)) {
- error = llvm::toString(std::move(e));
- return error.c_str();
- }
-
- return nullptr;
+ return "Reproducer finalize has been removed";
}
bool SBReproducer::Generate() {