[Lldb-commits] [lldb] r357507 - [Reproducers] Print warning when generating the reproducer.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 2 11:23:16 PDT 2019
Author: jdevlieghere
Date: Tue Apr 2 11:23:16 2019
New Revision: 357507
URL: http://llvm.org/viewvc/llvm-project?rev=357507&view=rev
Log:
[Reproducers] Print warning when generating the reproducer.
Encourage users to look at the directory so they know what data they'd
be sharing by uploading the reproducer.
Modified:
lldb/trunk/source/Commands/CommandObjectReproducer.cpp
Modified: lldb/trunk/source/Commands/CommandObjectReproducer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectReproducer.cpp?rev=357507&r1=357506&r2=357507&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectReproducer.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectReproducer.cpp Tue Apr 2 11:23:16 2019
@@ -49,6 +49,9 @@ protected:
result.GetOutputStream()
<< "Reproducer written to '" << r.GetReproducerPath() << "'\n";
+ result.GetOutputStream()
+ << "Please have a look at the directory to assess if you're willing to "
+ "share the contained information.\n";
result.SetStatus(eReturnStatusSuccessFinishResult);
return result.Succeeded();
More information about the lldb-commits
mailing list