[llvm-ar] Fix llvm-ar response file reading on Windows
authorgbreynoo <Owen.Reynolds@sony.com>
Tue, 3 Mar 2020 13:42:57 +0000 (13:42 +0000)
committergbreynoo <Owen.Reynolds@sony.com>
Tue, 3 Mar 2020 13:42:57 +0000 (13:42 +0000)
commit62fa3332c9c1af1e66dfecd40f5b4e78882998b2
tree9dc3f4c4c580597726a267e2bda89d8f2892ef4f
parent859bcf4e3bb991a161821129d19d50ba00f9c56a
[llvm-ar] Fix llvm-ar response file reading on Windows

Response files where not being correctly read on Windows, this change
fixes the issue and adds some tests.

Differential Revision: https://reviews.llvm.org/D69665
llvm/test/tools/llvm-ar/response-utf8.test [new file with mode: 0644]
llvm/test/tools/llvm-ar/response.test [new file with mode: 0644]
llvm/tools/llvm-ar/llvm-ar.cpp