If we see UTF-8 BOM sequence at the beginning of a response file, we shall
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Sat, 24 Jan 2015 04:23:08 +0000 (04:23 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Sat, 24 Jan 2015 04:23:08 +0000 (04:23 +0000)
commita8cf495a1592f9d2deddd1c39ce57e81dcc426e5
treee15bd902ae91260fe3a6f9f9c1e20f79916f02f4
parent83ba269e4bab408c98327060fd743bc7f5ccd54a
If we see UTF-8 BOM sequence at the beginning of a response file, we shall
remove these bytes before parsing.

Phabricator Revision: http://reviews.llvm.org/D7156

llvm-svn: 226988
llvm/lib/Support/CommandLine.cpp
llvm/test/Other/Inputs/utf8-bom-response [new file with mode: 0644]
llvm/test/Other/Inputs/utf8-response [new file with mode: 0644]
llvm/test/Other/ResponseFile.ll