From 6f365cc753d8150ae694357281e4775ac6e365cf Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 21 May 2014 09:02:13 +0000 Subject: [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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209284 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/msan/msan_interface_internal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/msan/msan_interface_internal.h') diff --git a/lib/msan/msan_interface_internal.h b/lib/msan/msan_interface_internal.h index 955288dc9..c005c2a36 100644 --- a/lib/msan/msan_interface_internal.h +++ b/lib/msan/msan_interface_internal.h @@ -136,8 +136,6 @@ bool __msan_is_in_loader(); SANITIZER_INTERFACE_ATTRIBUTE u32 __msan_get_umr_origin(); SANITIZER_INTERFACE_ATTRIBUTE -const char *__msan_get_origin_descr_if_stack(u32 id); -SANITIZER_INTERFACE_ATTRIBUTE void __msan_partial_poison(const void* data, void* shadow, uptr size); // Tell MSan about newly allocated memory (ex.: custom allocator). -- cgit v1.2.3