[Support] Quote arguments containing \n on Windows
authorReid Kleckner <rnk@google.com>
Tue, 11 Sep 2018 21:02:03 +0000 (21:02 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 11 Sep 2018 21:02:03 +0000 (21:02 +0000)
commit45265d996b4e8e9e138d7ee9d75c02ffe0149676
treea3180e7078cadbb1c4cd13be01fa70f141d094e8
parent443e20ba325b6f1c5ecf2cd2470fc3e72b887e9b
[Support] Quote arguments containing \n on Windows

Fixes at_file.c test failure caused by r341988. We may want to change
how we treat \n in our tokenizer, but this is probably a good fix
regardless, since we can invoke all kinds of programs with different
interpretations of the command line quoting rules.

llvm-svn: 341992
llvm/lib/Support/Windows/Program.inc