This matches what MSVC link.exe does. Differential Revision: https://reviews.llvm.org/D41051 llvm-svn: 320517