Fix copy/paste mistake for r346919.

llvm-svn: 346921
This commit is contained in:
Jonas Devlieghere 2018-11-15 01:18:16 +00:00
parent e103ae92ef
commit acaffc5c97
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ void Debugger::SetReproducerPath(llvm::StringRef p) {
llvm::Error Debugger::SetReproducerCapture(bool b) {
auto &r = repro::Reproducer::Instance();
if (auto e = r.SetGenerateReproducer(false))
if (auto e = r.SetGenerateReproducer(b))
return e;
return llvm::Error::success();
}