[PATCH] D47659: Give same-named members unique timestamps on Darwin in llvm-ar.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 14:59:39 PDT 2018


jyknight created this revision.
jyknight added a reviewer: aprantl.
Herald added a subscriber: hiraditya.
Herald added a reviewer: JDevlieghere.

This change ensures that the (membername,timestamp) tuple uniquely
identifies an entry in an archive for format=darwin, in deterministic
mode (which is the default).

That, then, enables lldb and dsymutil to locate the appropriate object
within the archive.


https://reviews.llvm.org/D47659

Files:
  llvm/lib/Object/ArchiveWriter.cpp
  llvm/test/Object/archive-darwin-duplicates.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47659.149563.patch
Type: text/x-patch
Size: 7088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/76b3e4c1/attachment.bin>


More information about the llvm-commits mailing list