llvm-project/compiler-rt/lib/ubsan
Stephan Bergmann e215996a29 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
2019-07-16 06:23:27 +00:00
..
CMakeLists.txt [compiler-rt] Cleanup usage of C++ ABI library 2019-02-16 08:34:26 +00:00
ubsan.syms.extra
ubsan_checks.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_diag.cc [NFC][Sanitizer] Weak linkage is not available on Windows 2019-02-28 18:42:14 +00:00
ubsan_diag.h [NFC][Sanitizer] Pull up GetStackTrace into sanitizer_common 2019-02-27 22:16:02 +00:00
ubsan_diag_standalone.cc [NFC][Sanitizer] Make GetStackTrace a private method of BufferedStackTrace 2019-03-01 22:10:49 +00:00
ubsan_flags.cc Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
ubsan_flags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_flags.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_handlers.cc Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_handlers.h Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_handlers_cxx.cc Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_handlers_cxx.h Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_init.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_init.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_init_standalone.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_init_standalone_preinit.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_interface.inc Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_monitor.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_monitor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_platform.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_signals_standalone.cc [NFC][Sanitizer] Weak linkage is not available on Windows 2019-02-28 18:42:14 +00:00
ubsan_signals_standalone.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_type_hash.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_type_hash.h Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_type_hash_itanium.cc Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_type_hash_win.cc Fix for Windows 2019-05-02 07:05:29 +00:00
ubsan_value.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_value.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_win_dll_thunk.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_win_dynamic_runtime_thunk.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_win_weak_interception.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
weak_symbols.txt Enable weak hooks on darwin 2017-01-09 03:51:42 +00:00