Skip to content

Commit

Permalink
Add -fstrict-vtable-pointers to UsersManual
Browse files Browse the repository at this point in the history
Summary: Add missing flag to UsersManual
It would be good to merge it to 4.0 branch.

Reviewers: hans

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28727

llvm-svn: 292112
  • Loading branch information
prazek committed Jan 16, 2017
1 parent 36045cd commit eb9dd5a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clang/docs/UsersManual.rst
Expand Up @@ -1097,6 +1097,13 @@ are listed below.
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, i.e. the vptr is invariant during an object's lifetime.
This enables better devirtualization. Turned off by default, because it is
still experimental.

.. option:: -ffast-math

Enable fast-math mode. This defines the ``__FAST_MATH__`` preprocessor
Expand Down

0 comments on commit eb9dd5a

Please sign in to comment.