summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-04-02 18:23:16 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-04-02 18:23:16 +0000
commit1c5250abaa3c5f326c3fac6e3bc5a83c6f9a58d7 (patch)
treebd83483c05407be755894d37a6d70c81bd04a2cb
parent751510cd78fb15f677b5cdebfedee6a28ad2ad99 (diff)
downloadbcm5719-llvm-1c5250abaa3c5f326c3fac6e3bc5a83c6f9a58d7.tar.gz
bcm5719-llvm-1c5250abaa3c5f326c3fac6e3bc5a83c6f9a58d7.zip
[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. llvm-svn: 357507
-rw-r--r--lldb/source/Commands/CommandObjectReproducer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectReproducer.cpp b/lldb/source/Commands/CommandObjectReproducer.cpp
index c7cdd6491a4..c80a8587feb 100644
--- a/lldb/source/Commands/CommandObjectReproducer.cpp
+++ b/lldb/source/Commands/CommandObjectReproducer.cpp
@@ -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();
OpenPOWER on IntegriCloud