From 8e48d2f7d9a72603df1b683c7b3e0b231f71c9ec Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 7 Aug 2014 00:05:00 +0000 Subject: [PATCH] Add back the leading space when printing commands with -### This was an unintentional behavior change from r214924. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215044 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Job.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Driver/Job.cpp b/lib/Driver/Job.cpp index fdf730d881..7d6d0bb78b 100644 --- a/lib/Driver/Job.cpp +++ b/lib/Driver/Job.cpp @@ -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) { -- 2.50.1