[llvm-bugs] [Bug 30938] New: llvm-ar with qcT manges updated name
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 7 14:44:16 PST 2016
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: unassignedbugs at nondot.org
Reporter: dcallahan at fb.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161107/b0379659/attachment.html>
More information about the llvm-bugs
mailing list