[llvm-bugs] [Bug 42521] New: llvm-ar errors when printing multiple members with the same name

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 5 08:22:21 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42521

            Bug ID: 42521
           Summary: llvm-ar errors when printing multiple members with the
                    same name
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-ar
          Assignee: unassignedbugs at nondot.org
          Reporter: gbreynoo at gmail.com
                CC: llvm-bugs at lists.llvm.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190705/2dc2e22e/attachment.html>


More information about the llvm-bugs mailing list