llvm-project/compiler-rt/lib/msan
Evgeniy Stepanov 208aae8ee0 [msan] Chained origins re-design.
Generalize StackDepot and create a new specialized instance of it to
efficiently (i.e. without duplicating stack trace data) store the
origin history tree.

This reduces memory usage for chained origins roughly by an order of
magnitude.

Most importantly, this new design allows us to put two limits on
stored history data (exposed in MSAN_OPTIONS) that help avoid
exponential growth in used memory on certain workloads.

See comments in lib/msan/msan_origin.h for more details.

llvm-svn: 209284
2014-05-21 09:02:13 +00:00
..
tests [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
CMakeLists.txt [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
Makefile.mk [sanitizer] Add MSan to Makefile-based build rules. 2013-02-21 13:55:54 +00:00
msan.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan.syms.extra Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
msan_allocator.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_allocator.h [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_blacklist.txt [MSan] Add empty default blacklist for MSan 2013-05-21 13:55:56 +00:00
msan_chained_origin_depot.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_chained_origin_depot.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_flags.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_interceptors.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_interface_internal.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_linux.cc [msan] mprotect() more memory to detect user code outside of application range. 2014-04-11 12:04:29 +00:00
msan_new_delete.cc Add throw() specifiers to more redeclarations of operator delete and operator delete[]. 2014-02-08 01:42:08 +00:00
msan_origin.h [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_report.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
msan_thread.cc [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_thread.h [msan] Disable chained origins in signal handlers. 2014-04-23 14:01:57 +00:00