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

            Bug ID: 30938
           Summary: llvm-ar with qcT manges updated name
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Object
          Assignee: unassignedb...@nondot.org
          Reporter: dcalla...@fb.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

When updating an archive, names of prior members are incorrectly updated.

+ mkdir -p test.d
+ touch test.d/test1.o
+ touch test.d/test2.o
+ touch test.d/test3.o
+ rm -f test.d/libtest.a
+ llvm-ar qcT test.d/libtest.a test.d/test1.o
+ llvm-ar t test.d/libtest.a
test1.o
+ llvm-ar qcT test.d/libtest.a test.d/test2.o
+ llvm-ar t test.d/libtest.a
../test1.o
test2.o
+ llvm-ar qcT test.d/libtest.a test.d/test3.o
llvm-ar: No such file or directory.

The second call to llvm-ar mangles the name so that it is not correctly found
in the third invocation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to