Fix copy/paste mistake for r346919.
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 15 Nov 2018 01:18:16 +0000 (01:18 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 15 Nov 2018 01:18:16 +0000 (01:18 +0000)
llvm-svn: 346921

lldb/source/Core/Debugger.cpp

index c8af328..19b476b 100644 (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();
 }