ThinLTO: Turning Separate Compilation into Whole‑Program Optimisation
When a hot helper lives in another source file, traditional separate compilation keeps it as a call. LLVM’s ThinLTO lets you inline it at link time without the compile‑time cost of headers. This blog walks through the problem, the LTO mechanism, a concrete test case, and the practical trade‑offs.