Add back the leading space when printing commands with -###

This was an unintentional behavior change from r214924.

llvm-svn: 215044
This commit is contained in:
Reid Kleckner 2014-08-07 00:05:00 +00:00
parent 2a25dba153
commit 4f1fc35b13
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ static void PrintArg(raw_ostream &OS, const char *Arg, bool Quote) {
void Command::Print(raw_ostream &OS, const char *Terminator, bool Quote,
bool CrashReport) const {
// Always quote the exe.
OS << ' ';
PrintArg(OS, Executable, /*Quote=*/true);
for (size_t i = 0, e = Arguments.size(); i < e; ++i) {