Avoid using alloca in Windows/Program.inc
authorReid Kleckner <reid@kleckner.net>
Wed, 7 Aug 2013 01:21:33 +0000 (01:21 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 7 Aug 2013 01:21:33 +0000 (01:21 +0000)
commite3c7bdf9a955dac6536588f8ee9c25716f479a04
treec4518df853fecf2ccf898d4aec17e1b81b7ad45b
parentb7669139e6309679acbe16ca26f1b1a2fdd91268
Avoid using alloca in Windows/Program.inc

One use needs to copy the alloca into a std::string, and the other use
is before calling CreateProcess, which is very heavyweight anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Windows/Program.inc