Commit 475150bd authored by Piotr Padlewski's avatar Piotr Padlewski
Browse files

Add -fstrict-vtable-pointers to UsersManual

In order to have link from ReleaseNotes working
this needs to have -fstrict-vtable-pointers 
option.

There is also one small typo fix (overridden)
y

https://reviews.llvm.org/D28727

llvm-svn: 292113
parent 4cd57bf3
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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
@@ -2645,7 +2652,7 @@ Execute ``clang-cl /?`` to see a list of supported options:
                              (overridden by LLVM_PROFILE_FILE env var)
      -fprofile-instr-generate
                              Generate instrumented code to collect execution counts into default.profraw file
                              (overriden by '=' form of option or LLVM_PROFILE_FILE env var)
                              (overridden by '=' form of option or LLVM_PROFILE_FILE env var)
      -fprofile-instr-use=<value>
                              Use instrumentation data for profile-guided optimization
      -fsanitize-blacklist=<value>