]> granicus.if.org Git - clang/commitdiff
docs: Add a missing LTO visibility reference.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 13 Jun 2018 23:21:02 +0000 (23:21 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 13 Jun 2018 23:21:02 +0000 (23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334671 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ControlFlowIntegrity.rst

index 5e837db731dc7d96c7815f9f1ad1b2aa06700d41..6b397befdd9a45752b9a3d6084bac7ca3dadf80c 100644 (file)
@@ -104,10 +104,11 @@ dynamic type; that is, the dynamic type of the called object must be a
 derived class of the static type of the object used to make the call.
 This CFI scheme can be enabled on its own using ``-fsanitize=cfi-vcall``.
 
-For this scheme to work, all translation units containing the definition of
-a virtual member function (whether inline or not), other than members of
-:ref:`blacklisted <cfi-blacklist>` types, must be compiled with ``-flto``
-or ``-flto=thin`` enabled and be statically linked into the program.
+For this scheme to work, all translation units containing the definition
+of a virtual member function (whether inline or not), other than members
+of :ref:`blacklisted <cfi-blacklist>` types or types with public :doc:`LTO
+visibility <LTOVisibility>`, must be compiled with ``-flto`` or ``-flto=thin``
+enabled and be statically linked into the program.
 
 Performance
 -----------