[all-commits] [llvm/llvm-project] 535b3c: [llvm-ranlib] Handle -D and -U command line flag
Alexander Richardson via All-commits
all-commits at lists.llvm.org
Thu Jan 2 04:46:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 535b3c6b2f1c81ed91942ebd9ea06a1022dc59a1
https://github.com/llvm/llvm-project/commit/535b3c6b2f1c81ed91942ebd9ea06a1022dc59a1
Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
Date: 2020-01-02 (Thu, 02 Jan 2020)
Changed paths:
A llvm/test/tools/llvm-ranlib/D-flag.test
M llvm/test/tools/llvm-ranlib/help-message.test
M llvm/tools/llvm-ar/llvm-ar.cpp
Log Message:
-----------
[llvm-ranlib] Handle -D and -U command line flag
I have been trying to build CheriBSD (a fork for FreeBSD for the CHERI
CPU) with LLVM binutils instead of the default elftoolchain utilities.
I noticed that building static archives was failing because ranlib is
invoked with the -D flag. This failed with llvm-ranlib since it parses
the -D flag as the archive path and reports an error that more than one
archive has been passed.
This fixes https://llvm.org/PR41707
Reviewed By: rupprecht
Differential Revision: https://reviews.llvm.org/D71554
More information about the All-commits
mailing list