diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-04-02 18:23:16 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-04-02 18:23:16 +0000 |
commit | 1c5250abaa3c5f326c3fac6e3bc5a83c6f9a58d7 (patch) | |
tree | bd83483c05407be755894d37a6d70c81bd04a2cb | |
parent | 751510cd78fb15f677b5cdebfedee6a28ad2ad99 (diff) | |
download | bcm5719-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.cpp | 3 |
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(); |