[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
This commit is contained in:
Jonas Devlieghere 2019-04-02 18:23:16 +00:00
parent 751510cd78
commit 1c5250abaa
1 changed files with 3 additions and 0 deletions

View File

@ -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();