3 ms·
Linking is still super slow, especially if you use link time code generation.
by jdsully 3y ago
Linking is still super slow, especially if you use link time code generation.
- eklitzke 3y agoLTO basically just calls back into the compiler and is multi-threaded on lld and mold at least, and probably anything else that supports LTO. And make sure you're using ThinLTO, it's still expensive but much faster than full LTO.
- satvikpendem 3y agoHave you tried the mold linker? I've been using it and it works pretty well, quite fast. https://github.com/rui314/mold https://github.com/rui314/mold