History log of /external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45a8124a70fa720756c4c40d741b588172879bb7 13-Feb-2013 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
base-to-derived casts have undefined behavior if the object is not actually an
instance of the derived type. Runtime library part.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
2af552f98f980178db37eed28a609b6bf55f6df8 09-Jan-2013 Will Dietz <wdietz2@illinois.edu> [ubsan] Add deduplication functionality, always enabled.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
0ad23f7f860e27b8b9a889be665cfaea830503ce 18-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: Demangle class names, and be more informative when a reinterpret_cast
has got us to the wrong offset within an object.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170423 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
25ee97fe8ada76755c8bd1087fac9cc3cd03b28c 18-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> ubsan: When diagnosing something wrong somewhere in memory, emit a note
pointing at the bad location and a snippet of nearby memory values. This is
strictly best-effort; reading these bytes to display the note could lead to a
seg fault, and that's explicitly OK.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170415 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
a82a5d360b19080f2b1beae374c12d4f26146450 02-Dec-2012 Will Dietz <wdietz2@illinois.edu> [ubsan] Refactor handlers to have separate entry points for aborting.

If user specifies aborting after a recoverable failed check is
appropriate, frontend should emit call to the _abort variant.

Test this behavior with newly added -fsanitize-recover flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
7cbd7e502e993320a3a1578179d336c268b80604 02-Dec-2012 Will Dietz <wdietz2@illinois.edu> [ubsan] Replace "fatal error" with "runtime error".


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc
eda8bd0fc07df35c9ad7de5b698bb717b063e7af 25-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> -fcatch-undefined-behavior checking for appropriate vptr value: library side.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc