Driver: Print the clang version and original command in crash scripts
authorJustin Bogner <mail@justinbogner.com>
Thu, 12 Mar 2015 00:14:35 +0000 (00:14 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 12 Mar 2015 00:14:35 +0000 (00:14 +0000)
commit42220ed3da20abea2e15eb13a5cfe4d253f19cd0
tree57a65029132a0a28859f09723402df3e260c6f43
parent7dfb92b90b360198600477638a75fd45755d8b4e
Driver: Print the clang version and original command in crash scripts

When a crash report script doesn't work for a reproduction on your
machine for one reason or another, it can be really tricky to figure
out why not. The compiler version that crashed and the original
command line before stripping flags are very helpful when this comes
up.

llvm-svn: 231989
clang/lib/Driver/Driver.cpp
clang/test/Driver/crash-report-modules.m
clang/test/Driver/crash-report.c