[PATCH] D66616: [TSan] Add interceptors for mach_vm_[de]allocate

Julian Lettner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 11:27:28 PDT 2019


yln updated this revision to Diff 217213.
yln added a comment.

Extract `UnmapShadow` and `MemoryRangeImitateWriteOrResetRange`
helper functions to reduce code duplication.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66616/new/

https://reviews.llvm.org/D66616

Files:
  compiler-rt/lib/tsan/CMakeLists.txt
  compiler-rt/lib/tsan/rtl/tsan_interceptors.cpp
  compiler-rt/lib/tsan/rtl/tsan_interceptors_mach_vm.cpp
  compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  compiler-rt/lib/tsan/rtl/tsan_rtl.h
  compiler-rt/test/tsan/Darwin/mach_vm_allocate.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66616.217213.patch
Type: text/x-patch
Size: 8534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/69754ced/attachment.bin>


More information about the llvm-commits mailing list