[PATCH] D75655: [Docs] Document -lto-whole-program-visibility

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 25 14:38:33 PDT 2020


MaskRay added inline comments.


================
Comment at: clang/docs/LTOVisibility.rst:39
+During the LTO link, all classes with public LTO visibility will be refined
+to hidden LTO visibility when the ``-lto-whole-program-visibility`` lld linker
+option is applied (``-plugin-opt=whole-program-visibility`` for gold). This
----------------
This is now

    ``--lto-whole-program-visibility``

(I am currently preparing some lld/ELF release notes for 11.0.0...)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75655/new/

https://reviews.llvm.org/D75655



More information about the cfe-commits mailing list