[llvm-branch-commits] [cfe-branch] r292113 - Add -fstrict-vtable-pointers to UsersManual
Piotr Padlewski via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 16 05:24:51 PST 2017
Author: prazek
Date: Mon Jan 16 07:24:50 2017
New Revision: 292113
URL: http://llvm.org/viewvc/llvm-project?rev=292113&view=rev
Log:
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
Modified:
cfe/branches/release_40/docs/UsersManual.rst
Modified: cfe/branches/release_40/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_40/docs/UsersManual.rst?rev=292113&r1=292112&r2=292113&view=diff
==============================================================================
--- cfe/branches/release_40/docs/UsersManual.rst (original)
+++ cfe/branches/release_40/docs/UsersManual.rst Mon Jan 16 07:24:50 2017
@@ -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
(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>
More information about the llvm-branch-commits
mailing list