[PATCH] D25973: [tsan] Implement WriteMemoryProfile for Darwin

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 16:58:37 PDT 2016


kubabrecka created this revision.
kubabrecka added reviewers: dvyukov, zaks.anna, kcc, eugenis.
kubabrecka added a subscriber: llvm-commits.
kubabrecka set the repository for this revision to rL LLVM.
kubabrecka added a project: Sanitizers.

TSan’s memory usage profiling currently doesn’t work on Darwin.  This patch implements measuring the amount of resident and dirty memory for each memory region.  I also removed the GetShadowMemoryConsumption function, which seems to be unused.


Repository:
  rL LLVM

https://reviews.llvm.org/D25973

Files:
  lib/tsan/rtl/tsan_platform_mac.cc
  lib/tsan/rtl/tsan_platform_windows.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25973.75818.patch
Type: text/x-patch
Size: 3781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/229ac28a/attachment.bin>


More information about the llvm-commits mailing list