Browse Source

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
Reid Kleckner 11 năm trước cách đây
mục cha
commit
8e48d2f7d9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lib/Driver/Job.cpp

+ 1 - 0
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,
 void Command::Print(raw_ostream &OS, const char *Terminator, bool Quote,
                     bool CrashReport) const {
                     bool CrashReport) const {
   // Always quote the exe.
   // Always quote the exe.
+  OS << ' ';
   PrintArg(OS, Executable, /*Quote=*/true);
   PrintArg(OS, Executable, /*Quote=*/true);
 
 
   for (size_t i = 0, e = Arguments.size(); i < e; ++i) {
   for (size_t i = 0, e = Arguments.size(); i < e; ++i) {