SuccessChanges

Summary

  1. 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
Revision 366186 by sberg:
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
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/UndefinedBehaviorSanitizer.rst (diff)clang.src/docs/UndefinedBehaviorSanitizer.rst
The file was modified/cfe/trunk/lib/CodeGen/CGExpr.cpp (diff)clang.src/lib/CodeGen/CGExpr.cpp
The file was modified/cfe/trunk/lib/CodeGen/CodeGenFunction.h (diff)clang.src/lib/CodeGen/CodeGenFunction.h
The file was modified/cfe/trunk/lib/Driver/SanitizerArgs.cpp (diff)clang.src/lib/Driver/SanitizerArgs.cpp
The file was added/cfe/trunk/test/CodeGen/ubsan-function.cppclang.src/test/CodeGen/ubsan-function.cpp
The file was modified/cfe/trunk/test/Driver/fsanitize.c (diff)clang.src/test/Driver/fsanitize.c
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_handlers_cxx.cc (diff)N/A
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_handlers_cxx.h (diff)N/A
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_interface.inc (diff)N/A
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/Function/function.cpp (diff)N/A