History log of /external/compiler-rt/lib/ubsan/ubsan_type_hash.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c46cdebe103e5745a3b7be0b8c9c454a06bcccb 18-Oct-2013 Richard Smith <richard-llvm@metafoo.co.uk> Make the big array in the UBSan C++ runtime be zero-initialized to dramatically
shrink the binary size of the ubsan runtime.

Also fix a bug where long-running processes could eventually trigger a crash in
the runtime by filling up the cache. I've not found a nice way to add a test for
this crasher; ideas welcome.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_type_hash.cc
f4322698581422a84c4cf300ad12de9cecd0673d 21-Mar-2013 Richard Smith <richard-llvm@metafoo.co.uk> Per discussion on cxx-abi-dev, switch from comparing type_info objects to
comparing type_info names, since the latter have better uniqueness guarantees
in practice.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_type_hash.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_type_hash.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_type_hash.cc
2529922d03a76c90a512e0dd8381a42978349b69 29-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166966 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_type_hash.cc
26a725f0b2fd30b98adae6353b432d0c955e10bd 29-Oct-2012 Richard Smith <richard-llvm@metafoo.co.uk> Don't define an extern "C" variable in its first declaration, to appease a
bogus gcc warning. Take this opportunity to move the declaration to the header,
since it's part of the API of this file.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/ubsan/ubsan_type_hash.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_type_hash.cc