[PATCH] D72988: [lsan] Expose Frontier object to OS-specific LockStuffAndStopTheWorld callback
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 18 15:21:35 PST 2020
mcgrathr created this revision.
mcgrathr added reviewers: phosek, aarongreen, cryptoad, vitalybuka.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.
This is a small refactoring to prepare for porting LSan to Fuchsia.
On Fuchsia, the system supplies a unified API for suspending threads and
enumerating roots from OS-specific places like thread state and global data
ranges. So its LockStuffAndStopTheWorld implementation will make specific
callbacks for all the OS-specific root collection work before making the
common callback that includes the actual leak-checking logic.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72988
Files:
compiler-rt/lib/lsan/lsan_common.cpp
compiler-rt/lib/lsan/lsan_common.h
compiler-rt/lib/lsan/lsan_common_linux.cpp
compiler-rt/lib/lsan/lsan_common_mac.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72988.238969.patch
Type: text/x-patch
Size: 5066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200118/39335fee/attachment.bin>
More information about the llvm-commits
mailing list