[llvm-ranlib] Support more than one input file
authorFangrui Song <i@maskray.me>
Mon, 8 Aug 2022 17:15:39 +0000 (10:15 -0700)
committerFangrui Song <i@maskray.me>
Mon, 8 Aug 2022 17:15:39 +0000 (10:15 -0700)
commitaa173573198e024b065c5f6523ce26bb865781b7
tree5c36c4e2a44c783a81edcd24dcc7dbfc518c7bef
parent2cbfa93f429343af3e8acb7ca69270b306e58139
[llvm-ranlib] Support more than one input file

BSD and GNU ranlib support more than one input file. Implement this.

While here, update OVERVIEW (Ranlib => ranlib) since "ranlib" is more common.
Remove "speed access" since the index has nothing to do with performance: it is
mandatory for GNU ld and gold but ignored for ld.lld (D119074).

Close https://github.com/llvm/llvm-project/issues/54565

Differential Revision: https://reviews.llvm.org/D131375
llvm/docs/CommandGuide/llvm-ranlib.rst
llvm/test/tools/llvm-ranlib/D-flag.test
llvm/test/tools/llvm-ranlib/error-opening-permission.test [new file with mode: 0644]
llvm/tools/llvm-ar/llvm-ar.cpp