[PATCH] D94643: [llvm-link] Improve link time for bitcode archives [NFC]

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 10:51:04 PST 2021


tra added a comment.

LGTM.

Do you have any measurements showing actual impact on performance or memory consumption?



================
Comment at: llvm/tools/llvm-link/llvm-link.cpp:149
   std::unique_ptr<Module> Result(new Module("ArchiveModule", Context));
+  Linker L(*Result);
   StringRef ArchiveName = Buffer->getBufferIdentifier();
----------------
This should be moved closer to the point where it's used.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94643/new/

https://reviews.llvm.org/D94643



More information about the llvm-commits mailing list