Announcement
Collapse
No announcement yet.
Mold 1.0 Released As A Modern High-Speed Linker Alternative To GNU Gold, LLVM LLD
Collapse
X
-
Originally posted by uid313 View Post
Maybe it is a pun on "GNU Gold". Mold rhymes with gold.
Maybe it is a pun on "GNU Gold". Mold rhymes with gold.
Mold rhymes with gold, and one more reason, I asume,
mo prefix is because "a modern linker" (according to the repo page)
- Likes 2
Comment
-
Originally posted by carewolf View Post
LTO "linking" isn't really linking. It is compilation. So a different task and done by the compiler.
It is running optimization passes in the linker.
That’s why it is called Link Time Optimization since it is run in the linker.
Here is an article from LLVM explaning design of LTO, https://llvm.org/docs/LinkTimeOptimization.html it explicitly mentions that LTO is run in the linker:
In this model, the linker treats LLVM bitcode files like native object files and allows mixing and matching among them. The linker uses libLTO, a shared object, to handle LLVM bitcode files. This tight integration between the linker and LLVM optimizer helps to do optimizations that are not possible in other models. The linker input allows the optimizer to avoid relying on conservative escape analysis.
- Likes 2
Comment
-
Originally posted by NobodyXu View Post
LTO linking isn’t exactly compilatiom.
It is running optimization passes in the linker.
That’s why it is called Link Time Optimization since it is run in the linker.
Here is an article from LLVM explaning design of LTO, https://llvm.org/docs/LinkTimeOptimization.html it explicitly mentions that LTO is run in the linker:
Comment
Comment