ThinLTO in Practice: Scaling Whole-Program Optimization Without the Memory Wall
ThinLTO splits LLVM's whole-program optimization into a fast summary phase and parallel backend workers, avoiding the memory explosion of monolithic LTO. This post shows how to integrate it into CMake/Ninja, verify cross-TU inlining, and navigate cache, debug-info, and sanitizer trade-offs.