llvm-project/compiler-rt/lib/ubsan
Alexey Samsonov 9c85927012 [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and
introduce a BufferedStackTrace class, which owns this array.

Summary:
This change splits __sanitizer::StackTrace class into a lightweight
__sanitizer::StackTrace, which doesn't own array of PCs, and BufferedStackTrace,
which owns it. This would allow us to simplify the interface of StackDepot,
and eventually merge __sanitizer::StackTrace with __tsan::StackTrace.

Test Plan: regression test suite.

Reviewers: kcc, dvyukov

Reviewed By: dvyukov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5985

llvm-svn: 220635
2014-10-26 03:35:14 +00:00
..
CMakeLists.txt [sanitizer] Add i686 arch to compiler-rt. 2014-10-01 12:55:06 +00:00
Makefile.mk Split ubsan runtime into three pieces (compiler-rt part): 2013-03-20 23:49:17 +00:00
ubsan.syms.extra Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
ubsan_diag.cc [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and 2014-10-26 03:35:14 +00:00
ubsan_diag.h [UBSan] Optionally report summary in UBSan error reports. 2014-09-19 18:33:45 +00:00
ubsan_flags.cc [UBSan] Introduce more flexible __ubsan_default_options function instead of UBSAN_DEFAULT_OPTIONS compile definition 2014-09-19 18:54:52 +00:00
ubsan_flags.h [UBSan] Introduce more flexible __ubsan_default_options function instead of UBSAN_DEFAULT_OPTIONS compile definition 2014-09-19 18:54:52 +00:00
ubsan_handlers.cc Sanitize upcasts and conversion to virtual base. 2014-10-13 23:59:00 +00:00
ubsan_handlers.h [UBSan] Add noinline attribute to handlers that should never return. 2014-09-10 20:43:36 +00:00
ubsan_handlers_cxx.cc [UBSan] Optionally report summary in UBSan error reports. 2014-09-19 18:33:45 +00:00
ubsan_handlers_cxx.h [ubsan] Move attribute specifier to fix build with gcc. 2013-01-10 17:01:13 +00:00
ubsan_init.cc Revert r217616. Problems and complexity it introduces negate its benefit 2014-09-12 01:26:57 +00:00
ubsan_init.h [UBSan] Call UBSan initialization as early as possible. 2014-07-25 22:24:34 +00:00
ubsan_type_hash.cc Make the big array in the UBSan C++ runtime be zero-initialized to dramatically 2013-10-17 22:51:04 +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 [ubsan] handle long double in 32-bit mode; part of the patch by Marek Polacek 2014-05-23 14:45:13 +00:00
ubsan_value.h Enable UBSan on FreeBSD. Patch by Viktor Kutuzov. 2014-02-25 08:29:36 +00:00