Use llvm::sys::Process::GetEnv() instead of ::getenv().
authorRui Ueyama <ruiu@google.com>
Tue, 10 Sep 2013 20:33:21 +0000 (20:33 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 10 Sep 2013 20:33:21 +0000 (20:33 +0000)
commit5c532370d5b1b35345f03b9c98378c12c424607e
tree52ca7585bb3c574d2d101d4b5a7268b574bc0c26
parent77d55f8abd224c53277e60b77b27b9becdec2fb4
Use llvm::sys::Process::GetEnv() instead of ::getenv().

Process::GetEnv() uses GetEnvironmentVariableW, which is a Windows API
to get an environment variable and is preferable over getenv().

llvm-svn: 190431
lld/lib/Driver/WinLinkDriver.cpp