[Lldb-commits] [lldb] r346921 - Fix copy/paste mistake for r346919.

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 14 17:18:16 PST 2018


Author: jdevlieghere
Date: Wed Nov 14 17:18:16 2018
New Revision: 346921

URL: http://llvm.org/viewvc/llvm-project?rev=346921&view=rev
Log:
Fix copy/paste mistake for r346919.

Modified:
    lldb/trunk/source/Core/Debugger.cpp

Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=346921&r1=346920&r2=346921&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Wed Nov 14 17:18:16 2018
@@ -426,7 +426,7 @@ void Debugger::SetReproducerPath(llvm::S
 
 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();
 }




More information about the lldb-commits mailing list