[PATCH] D53294: [ThinLTO] Add an option to disable (thin)lto internalization.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 15 12:59:12 PDT 2018


tejohnson added inline comments.


================
Comment at: lib/LTO/LTOCodeGenerator.cpp:425
 
-  if (!ShouldInternalize)
+  if (!EnableLTOInternalization || !ShouldInternalize)
     return;
----------------
How about initialize ShouldInternalize in the constructor based on that option value?


Repository:
  rL LLVM

https://reviews.llvm.org/D53294





More information about the llvm-commits mailing list