llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.82k stars 11.91k forks source link

Crash reporting should be extensible with an external tool #13522

Open chandlerc opened 12 years ago

chandlerc commented 12 years ago
Bugzilla Link 13150
Version unspecified
OS All
CC @chandlerc

Extended Description

The idea is that anyone distributing Clang could ship an external tool that does automatic bug triage / reporting, or integrates with crash reporting on the host OS etc.

It would be important to continue to do most of the crash handling in the driver where we know about Clang, and the command, and can build up the proper reproduction steps, and then to hand all that information off to the separate tool if it exists, or report it (much as we already do) to the user.

llvmbot commented 12 years ago

Bob [Wilson] made a very good point. The preprocessed source of an external developer's code exposes their proprietary information. We want to make it easy for them to submit that source but it has to be a voluntary step. Thus, we really can't automate the entire process.

llvmbot commented 12 years ago

I went ahead and cloned this to rdar://problem/11703974 to ease trackability. However, I've indicated in the radar we should make comment here to solicit feedback from the community.