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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to