summaryrefslogtreecommitdiffstats
path: root/clang/docs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-16 06:23:27 +0000
committerStephan Bergmann <sbergman@redhat.com>2019-07-16 06:23:27 +0000
commite215996a2932ed7c472f4e94dc4345b30fd0c373 (patch)
treed6c0f7216aaa2c2a0f90dddd2879e9f653b776d3 /clang/docs
parent3e10905c49ffda36d7a90e24be1ab30832fa4afc (diff)
downloadbcm5719-llvm-e215996a2932ed7c472f4e94dc4345b30fd0c373.tar.gz
bcm5719-llvm-e215996a2932ed7c472f4e94dc4345b30fd0c373.zip
Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO"
i.e., recent 5745eccef54ddd3caca278d1d292a88b2281528b: * Bump the function_type_mismatch handler version, as its signature has changed. * The function_type_mismatch handler can return successfully now, so SanitizerKind::Function must be AlwaysRecoverable (like for SanitizerKind::Vptr). * But the minimal runtime would still unconditionally treat a call to the function_type_mismatch handler as failure, so disallow -fsanitize=function in combination with -fsanitize-minimal-runtime (like it was already done for -fsanitize=vptr). * Add tests. Differential Revision: https://reviews.llvm.org/D61479 llvm-svn: 366186
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/UndefinedBehaviorSanitizer.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/UndefinedBehaviorSanitizer.rst b/clang/docs/UndefinedBehaviorSanitizer.rst
index 7a4eaf4f60d..38cd3645bce 100644
--- a/clang/docs/UndefinedBehaviorSanitizer.rst
+++ b/clang/docs/UndefinedBehaviorSanitizer.rst
@@ -205,8 +205,8 @@ Minimal Runtime
There is a minimal UBSan runtime available suitable for use in production
environments. This runtime has a small attack surface. It only provides very
-basic issue logging and deduplication, and does not support ``-fsanitize=vptr``
-checking.
+basic issue logging and deduplication, and does not support
+``-fsanitize=function`` and ``-fsanitize=vptr`` checking.
To use the minimal runtime, add ``-fsanitize-minimal-runtime`` to the clang
command line options. For example, if you're used to compiling with
OpenPOWER on IntegriCloud