[PATCH] D28727: Add -fstrict-vtable-pointers to UserManual
Piotr Padlewski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 15 06:27:00 PST 2017
Prazek updated this revision to Diff 84492.
Prazek added a comment.
Removed [no-] so hyperlink would work
@@ -1097,6 +1097,12 @@
the behavior of sanitizers in the ``cfi`` group to allow checking
of cross-DSO virtual and indirect calls.
+.. option:: -fstrict-vtable-pointers
+ Enable optimizations based on the strict rules for overwriting polymorphic
+ C++ objects, e.g. vptr is invariant during the lifetime of object.
+ 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...
Size: 645 bytes
Desc: not available
More information about the cfe-commits