summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBReproducer.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-06 01:49:57 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-06 01:49:57 +0000
commit2e3e65fb6293e59b31f43cb03250d68c6b58820b (patch)
treed25d070fcfe49034db4a56a20d23b196b4128eea /lldb/source/API/SBReproducer.cpp
parent7e23df4437cbb656d57cb2add28b235677c4ad79 (diff)
downloadbcm5719-llvm-2e3e65fb6293e59b31f43cb03250d68c6b58820b.tar.gz
bcm5719-llvm-2e3e65fb6293e59b31f43cb03250d68c6b58820b.zip
[Reproducers] Enable replay from SBRepro.
Now that the LLDB instrumentation macros are in place, we should use that to test reproducer replay. Differential revision: https://reviews.llvm.org/D58565 llvm-svn: 355470
Diffstat (limited to 'lldb/source/API/SBReproducer.cpp')
-rw-r--r--lldb/source/API/SBReproducer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/source/API/SBReproducer.cpp b/lldb/source/API/SBReproducer.cpp
index db132e62465..ba08055c833 100644
--- a/lldb/source/API/SBReproducer.cpp
+++ b/lldb/source/API/SBReproducer.cpp
@@ -2901,8 +2901,6 @@ const char *SBReproducer::Replay(const char *path) {
return error.c_str();
}
- // FIXME: Enable the following code once the SB reproducer has landed.
-#if 0
FileSpec file = loader->GetFile<SBInfo>();
if (!file) {
error = "unable to get replay data from reproducer.";
@@ -2911,7 +2909,6 @@ const char *SBReproducer::Replay(const char *path) {
SBRegistry registry;
registry.Replay(file);
-#endif
return nullptr;
}
OpenPOWER on IntegriCloud