[PATCH] D34247: Add lsan interceptors for libdispatch functions on darwin

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 13:05:25 PDT 2017


fjricci created this revision.
Herald added a subscriber: mgorny.

This is required for standalone LSan to work with libdispatch worker threads,
and is a slimmed down version of the functionality provided for ASan
in asan_mac.cc.


https://reviews.llvm.org/D34247

Files:
  lib/lsan/CMakeLists.txt
  lib/lsan/lsan.h
  lib/lsan/lsan_common_mac.cc
  lib/lsan/lsan_mac.cc
  lib/lsan/lsan_thread.cc
  lib/lsan/lsan_thread.h
  test/lsan/TestCases/Darwin/dispatch.mm
  test/lsan/TestCases/Darwin/lit.local.cfg
  test/lsan/lit.common.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34247.102712.patch
Type: text/x-patch
Size: 12247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170615/7bbc2640/attachment.bin>


More information about the llvm-commits mailing list