Driver: Quote the command in crash reproduction scripts.
authorJustin Bogner <mail@justinbogner.com>
Tue, 21 Oct 2014 18:03:08 +0000 (18:03 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 21 Oct 2014 18:03:08 +0000 (18:03 +0000)
commit33bdbc66d3ee912e8f50f194a40e5a8237a4ba26
tree1d350ad9eafc39be0d3775e4497f96b048943023
parentdd86f33902071c39b3ec2ab8c572df32beb8b29b
Driver: Quote the command in crash reproduction scripts.

This fixes crash report generation when filenames have spaces. It also
removes an awkward workaround that quoted *some* arguments when
generating crash reports.

llvm-svn: 220307
clang/lib/Driver/Driver.cpp
clang/lib/Driver/Job.cpp
clang/test/Driver/crash report spaces.c [new file with mode: 0644]
clang/test/Driver/crash-report-modules.m
clang/test/Driver/crash-report.c