[llvm-bugs] [Bug 31167] New: On thin archives llvm-ar display table behavior differs from gnu ar

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 26 15:08:03 PST 2016


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

            Bug ID: 31167
           Summary: On thin archives llvm-ar display table behavior
                    differs from gnu ar
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-ar
          Assignee: unassignedbugs at nondot.org
          Reporter: marksan at fb.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On thin archives, we store relative paths from the archive itself to its
members.  When displaying the contents of the archive, gnu ar converts back by
prefixing the path portion of path/to/archive.  Currently llvm-ar does not do
this, and simply prints the stored path.

+ mkdir -p test.d/
+ touch test.d/test1.o
+ rm -f test.d/libtest.a
+ ar qcT test.d/libtest.a test.d/test1.o
+ ar t test.d/libtest.a
test.d/test1.o
+ llvm-ar t test.d/libtest.a
test1.o

-- 
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/20161126/4aa4d88b/attachment.html>


More information about the llvm-bugs mailing list