[cfe-commits] PATCH: Add diagnostic output for crash reports

Chad Rosier mcrosier at apple.com
Wed Jul 13 14:07:10 PDT 2011


This patch adds support for producing additional diagnostic information upon a clang crash.  Specifically, the compile is rerun to generate preprocessed source and a message is emitted showing all the command-line options needed to reproduce the problem.  The user is asked to submit a radar/bug report and attach this additional information.  Also, I tested things by hard coding the verifier pass to fail, but I was hoping someone could suggest a more robust means of testing prior to committing.

This is for <rdar://problem/9575623>.

 Regards,
  Chad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: genDiagnostics.diff
Type: application/octet-stream
Size: 14232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110713/2780b2a7/attachment.obj>


More information about the cfe-commits mailing list