llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

llvm-ar errors when printing multiple members with the same name

Open gbreynoo opened this issue 7 years ago • 0 comments

Bugzilla Link 42521
Version trunk
OS Windows NT

Extended Description

When using the print operation as below llvm-ar errors:

llvm-ar p archive.a 1.txt 1.txt

The member is printed but an error is also output. This is the case if the archive contains only one member of that name or multiple members.

In comparison gnu-ar will error in the case above if the archive only contains one member of the given name, with multiple members of that name they will be printed in sequential order. i.e the first two members named 1.txt of the archive above will be printed.

gbreynoo avatar Jul 05 '19 15:07 gbreynoo