[Driver] Always quote file paths in the build record.

rdar://problem/21753365

Swift SVN r30054
This commit is contained in:
Jordan Rose
2015-07-10 01:39:12 +00:00
parent bee5114781
commit 40cd9e479b
4 changed files with 27 additions and 27 deletions

View File

@@ -158,7 +158,7 @@ static void writeCompilationRecord(StringRef path, StringRef argsHash,
out << "inputs: \n";
for (auto &entry : inputs) {
out << "\t" << llvm::yaml::escape(entry.first->getValue()) << ": ";
out << "\t\"" << llvm::yaml::escape(entry.first->getValue()) << "\": ";
switch (entry.second.status) {
case CompileJobAction::InputInfo::UpToDate: