[llvm-bugs] [Bug 42425] New: Fix "after" and "before" modifiers when inserting or moving the same member

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 27 08:12:14 PDT 2019


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

            Bug ID: 42425
           Summary: Fix "after" and "before" modifiers when inserting or
                    moving the same member
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            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

The modifiers a and b can be used with move and replace to define where in the
member order to insert, based of a member name. When moving or replacing a file
before or after the same file name, behaviour is not as expected:

llvm-ar rc test.a a.txt b.txt c.txt
llvm-ar ra b.txt test.a b.txt
llvm-ar t test.a

output:
a.txt
c.txt
b.txt 

expected output:
a.txt
b.txt 
c.txt

This is the case for ra, rb and ma. mb is as expected.

For the sake of comparison, gnu-ar ra and rb behaviour is as expected but ma
and mb are not as expected.

-- 
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/20190627/4ac8d6ae/attachment.html>


More information about the llvm-bugs mailing list