[PATCH] D24806: [docs] Add ThinLTO user documentation

Mehdi AMINI via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 21 09:55:17 PDT 2016


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

Great! Thanks for writing it :)


================
Comment at: docs/CommandGuide/clang.rst:339
@@ +338,3 @@
+  The default for :option:`-flto` is :option:`-flto=full`, in which the
+  LLVM bitcode is suitable for regular Link Time Optimization (LTO), where
+  the linker merges all such modules into a single combined module for
----------------
What about using "monolithic" instead of "regular"?


================
Comment at: docs/ThinLTO.rst:14
@@ +13,3 @@
+runtime performance through whole-program analysis and cross-module
+optimization. However, regular LTO implements this by merging all
+input into a single monolithic module, which is not scalable
----------------
Same :)


https://reviews.llvm.org/D24806





More information about the cfe-commits mailing list