[PATCH] Speculatively instantiate archive members

Rui Ueyama ruiu at google.com
Fri Jan 16 09:28:15 PST 2015


- Updated as per Simon's suggestion. Since object address is not guaranteed to be the same before group.spawn and inside group.spawn (because other thread may add more items to the vector, and vector contents are copied to extend), the code access the vector using index.


http://reviews.llvm.org/D7015

Files:
  include/lld/Core/ArchiveLibraryFile.h
  include/lld/Core/File.h
  include/lld/Core/Resolver.h
  lib/Core/Resolver.cpp
  lib/ReaderWriter/FileArchive.cpp
  lib/ReaderWriter/PECOFF/ReaderCOFF.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7015.18306.patch
Type: text/x-patch
Size: 9278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/904c0805/attachment.bin>


More information about the llvm-commits mailing list