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: unassignedb...@nondot.org
          Reporter: mark...@fb.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to