We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e804d2 commit 2dca653Copy full SHA for 2dca653
lldb/source/Commands/CommandObjectReproducer.cpp
@@ -37,8 +37,13 @@ class CommandObjectReproducerGenerate : public CommandObjectParsed {
37
auto &r = repro::Reproducer::Instance();
38
if (auto generator = r.GetGenerator()) {
39
generator->Keep();
40
+ } else if (r.GetLoader()) {
41
+ // Make this operation a NOP in replay mode.
42
+ result.SetStatus(eReturnStatusSuccessFinishNoResult);
43
+ return result.Succeeded();
44
} else {
45
result.AppendErrorWithFormat("Unable to get the reproducer generator");
46
+ result.SetStatus(eReturnStatusFailed);
47
return false;
48
}
49
0 commit comments