Add a minimal implementation of ranlib.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 Aug 2013 16:22:16 +0000 (16:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 Aug 2013 16:22:16 +0000 (16:22 +0000)
commitaeb0f0cdd28011a34be3772bb7a77292eaf18f9c
treeecbb8ff94bdb61f55cf087c3d0769dd9051e1a54
parent22266c1d4817fc30355a90bb264ede08482bba3a
Add a minimal implementation of ranlib.

This is just enough to get "llvm-ranlib foo.a" working and tested. Making
llvm-ranlib a symbolic link to llvm-ar doesn't work so well with llvm's option
parsing, but ar's option parsing is mostly custom anyway.

This patch also removes the -X32_64 option. Looks like it was just added in
r10297 as part of implementing the current command line parsing. I can add it
back (with a test) if someone really has AIX portability problems without it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189489 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/archive-symtab.test
tools/llvm-ar/CMakeLists.txt
tools/llvm-ar/Makefile
tools/llvm-ar/llvm-ar.cpp