[NFC][sanitizer] Add OnMapSecondary callback
authorVitaly Buka <vitalybuka@google.com>
Wed, 21 Jun 2023 20:30:44 +0000 (13:30 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 21 Jun 2023 20:33:41 +0000 (13:33 -0700)
commit38dfcf96dfd5d88e641e8054ea2f3a008ff8bcfd
tree98e625c95ba10a2889aa5067bdef42a4bf58c386
parent04a7c672ab302d972ceabe43b1bbcdb2aa5ebe71
[NFC][sanitizer] Add OnMapSecondary callback

Now it implemented as OnMap everywhere, but in follow up patches
we can optimize Asan handler.
compiler-rt/lib/asan/asan_allocator.cpp
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/dfsan/dfsan_allocator.cpp
compiler-rt/lib/hwasan/hwasan_allocator.h
compiler-rt/lib/memprof/memprof_allocator.h
compiler-rt/lib/msan/msan_allocator.cpp
compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
compiler-rt/lib/sanitizer_common/sanitizer_allocator_secondary.h
compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
compiler-rt/lib/tsan/rtl/tsan_mman.cpp