Handle _LINK_ env string as command line parameters.
authorRui Ueyama <ruiu@google.com>
Mon, 24 Apr 2017 22:20:03 +0000 (22:20 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 24 Apr 2017 22:20:03 +0000 (22:20 +0000)
commit95fe8543325ad3b540636e46b272e644e89d1c4d
tree6ff04857e8377c8f61eb5f38c52b827bb1ec3cb2
parentb494578afb3a3f08e64fab2a9d612a3044c6b89d
Handle _LINK_ env string as command line parameters.

"_LINK_" environment varaible should be appended to the command line.
https://msdn.microsoft.com/en-us/library/6y6t9esh.aspx

Fixes https://bugs.llvm.org/show_bug.cgi?id=32756

llvm-svn: 301264
lld/COFF/Driver.h
lld/COFF/DriverUtils.cpp
lld/test/COFF/linkenv.test