[PATCH] D28727: Add -fstrict-vtable-pointers to UserManual

Piotr Padlewski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 14 02:10:24 PST 2017


Prazek created this revision.
Prazek added a reviewer: hans.
Prazek added a subscriber: cfe-commits.

It would be good to merge it to 4.0 branch.


https://reviews.llvm.org/D28727

Files:
  docs/UsersManual.rst


Index: docs/UsersManual.rst
===================================================================
--- docs/UsersManual.rst
+++ docs/UsersManual.rst
@@ -1097,6 +1097,11 @@
    the behavior of sanitizers in the ``cfi`` group to allow checking
    of cross-DSO virtual and indirect calls.
 
+
+.. option:: -f[no-]strict-vtable-pointers
+   Enable optimizations based on the strict rules for overwriting polymorphic
+   C++ objects. This enables better devirtualization. Turned off by default.
+
 .. option:: -ffast-math
 
    Enable fast-math mode. This defines the ``__FAST_MATH__`` preprocessor


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28727.84442.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170114/767c64d1/attachment.bin>


More information about the cfe-commits mailing list