hanchenye-llvm-project/compiler-rt/lib/ubsan
Richard Smith 6d9f13127c 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.

llvm-svn: 175079
2013-02-13 21:18:23 +00:00
..
lit_tests ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, 2013-02-13 21:18:23 +00:00
CMakeLists.txt CMake: add functions creating universal runtime libraries for several architectures on OS X and use them in ASan and UBSan build rules 2013-01-21 08:12:20 +00:00
Makefile.mk Support for building the ubsan runtime when using the autoconf build system on 2012-11-13 23:55:06 +00:00
ubsan_diag.cc Highlight caret in bold green, to match Clang diagnostics. 2013-02-12 22:12:10 +00:00
ubsan_diag.h ubsan: Demangle class names, and be more informative when a reinterpret_cast 2012-12-18 09:30:21 +00:00
ubsan_handlers.cc ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, 2013-02-13 21:18:23 +00:00
ubsan_handlers.h [ubsan] Move attribute specifier to fix build with gcc. 2013-01-10 17:01:13 +00:00
ubsan_handlers_cxx.cc ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, 2013-02-13 21:18:23 +00:00
ubsan_handlers_cxx.h [ubsan] Move attribute specifier to fix build with gcc. 2013-01-10 17:01:13 +00:00
ubsan_type_hash.cc ubsan: Demangle class names, and be more informative when a reinterpret_cast 2012-12-18 09:30:21 +00:00
ubsan_type_hash.h [ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache 2013-01-17 17:14:12 +00:00
ubsan_value.cc Provide a slightly more helpful diagnostic if -fcatch-undefined-behavior finds 2012-10-14 23:53:37 +00:00
ubsan_value.h [ubsan] Use __sanitizer::atomic_exchange(), prefer shared impl. 2013-01-14 16:13:52 +00:00