Driver: Move crash report command mangling into Command::Print
authorJustin Bogner <mail@justinbogner.com>
Tue, 21 Oct 2014 17:24:44 +0000 (17:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 21 Oct 2014 17:24:44 +0000 (17:24 +0000)
commit256451561c9d9f71328c213295cae8ce9fded3f9
treed73ae7c20673a379b5be61cf37f7a613eea95440
parente306a32325ad3e9b73191941fef2d3643fb58ebe
Driver: Move crash report command mangling into Command::Print

This pushes the logic for generating a crash reproduction script
entirely into Command::Print, instead of Command doing half of the
work and then relying on textual substitution for the rest. This makes
this logic much easier to read and will simplify fixing a couple of
issues in this area.

llvm-svn: 220305
clang/include/clang/Driver/Job.h
clang/lib/Driver/Driver.cpp
clang/lib/Driver/Job.cpp