[all-commits] [llvm/llvm-project] 233106: [llvm-link] Improve link time for bitcode archives...
Sergey Dmitriev via All-commits
all-commits at lists.llvm.org
Tue Jan 19 17:47:45 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 233106269db6af64f9eff7db0bdf119593f822b1
https://github.com/llvm/llvm-project/commit/233106269db6af64f9eff7db0bdf119593f822b1
Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
Date: 2021-01-19 (Tue, 19 Jan 2021)
Changed paths:
M llvm/tools/llvm-link/llvm-link.cpp
Log Message:
-----------
[llvm-link] Improve link time for bitcode archives [NFC]
Linking large bitcode archives currently takes a lot of time with llvm-link,
this patch adds couple improvements which reduce link time for archives
- Use one Linker instance for archive instead of recreating it for each member
- Lazy load archive members
Reviewed By: tra, jdoerfert
Differential Revision: https://reviews.llvm.org/D94643
More information about the All-commits
mailing list