OSDN Git Service

[llvm-ar] Support an options string that start with a dash
authorMartin Storsjo <martin@martin.st>
Fri, 3 Nov 2017 20:09:10 +0000 (20:09 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 3 Nov 2017 20:09:10 +0000 (20:09 +0000)
commitaf481e4f940025c84ce601e68fdedbc1bd22cdd2
tree9250467ab793d826e84f1d2129f3a850da12f689
parent2619256bd715b06c947e862f5f53511795dae1a3
[llvm-ar] Support an options string that start with a dash

Some projects call $AR like "$AR -crs output input1 input2".

Differential Revision: https://reviews.llvm.org/D39538

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317358 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-ar/default-add.test
tools/llvm-ar/llvm-ar.cpp