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)
commitd3198ce4bcc3ec64068d6508f2f08be97e6be83e
tree28abc83a6975ddfc2a958bd19ad375f24ef5a4e2
parent7a98df7f74f7ffc94f1684ad4b8dfb056fbcd787
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp
test/Other/Inputs/utf8-bom-response [new file with mode: 0644]
test/Other/Inputs/utf8-response [new file with mode: 0644]
test/Other/ResponseFile.ll