Properly quote the quotes :) during cmdline construction on Windows.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 28 Mar 2010 15:07:02 +0000 (15:07 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 28 Mar 2010 15:07:02 +0000 (15:07 +0000)
commit81244298ea8c710e8beafe836df28ba5c381bedd
treeca435cc4adb182e101be0ba60bb9198dfcb08a48
parentb4bc96317a64b5f824ebef4b0c1c7024017f52c6
Properly quote the quotes :) during cmdline construction on Windows.
Otherwise, e.g. in the invocation like clang -DFOO=\"bar\" FOO macro
got the bar value, not "bar".

Patch by Alexander Esilevich!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Win32/Program.inc