hanchenye-llvm-project/compiler-rt/lib
Stephan Bergmann 703478ae6e -fsanitize=vptr warnings on bad static types in dynamic_cast and typeid
...when such an operation is done on an object during con-/destruction.

(This adds a test case to compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp
that, unlike the existing test cases there, wants to detect multiple UBSan
warnings in one go. Therefore, that file had to be changed from globally using
-fno-sanitize-recover to individually using halt_on_error only where
appropriate.)

This is the compiler-rt part of a patch covering both cfe and compiler-rt.

Differential Revision: https://reviews.llvm.org/D40295

llvm-svn: 321518
2017-12-28 12:45:23 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [Sanitizers, CMake] Basic sanitizer Solaris support (PR 33274) 2017-12-22 18:04:20 +00:00
builtins Fix PR35739: chkstk and chkst2 should only be built for Windows 2017-12-24 21:11:32 +00:00
cfi (NFC) Rename GetMax{,User}VirtualAddress. 2017-11-07 23:51:22 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
fuzzer [libfuzzer] Fix UB when calculating Log(0) in StackDepthStepFunction(). 2017-12-20 19:31:51 +00:00
hwasan [hwasan] Implement -fsanitize-recover=hwaddress. 2017-12-20 19:05:44 +00:00
interception [Sanitizers] Basic sanitizer Solaris support (PR 33274) 2017-12-14 20:14:29 +00:00
lsan Detect thread termination in LSan/NetBSD 2017-11-26 09:42:01 +00:00
msan [MSan,TSan] Add aligned new/delete interceptors. 2017-12-22 17:02:17 +00:00
profile Include process.h for getpid on Windows in instr profiling 2017-12-21 21:48:55 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [Sanitizers] Export aligned new/delete from runtimes. 2017-12-23 00:30:51 +00:00
scudo [scudo] Refactor ScudoChunk 2017-12-14 21:32:57 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [MSan,TSan] Add aligned new/delete interceptors. 2017-12-22 17:02:17 +00:00
ubsan -fsanitize=vptr warnings on bad static types in dynamic_cast and typeid 2017-12-28 12:45:23 +00:00
ubsan_minimal [ubsan-minimal] Add a path for non-POSIX (and bare-metal) use of the library 2017-12-15 17:30:50 +00:00
xray [XRay] Add missing include to unit test 2017-12-27 10:39:02 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00