[PATCH] D73309: [lsan] Factor pthread-specific assumptions out of thread tracking code

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 16:49:48 PST 2020


mcgrathr created this revision.
mcgrathr added reviewers: phosek, aarongreen, cryptoad, vitalybuka.
mcgrathr added projects: Sanitizers, LLVM.
Herald added a subscriber: mgorny.

This is a small refactoring to prepare for porting LSan to Fuchsia.
Factor out parts of lsan_thread.{cpp,h} that don't apply to Fuchsia.
Since existing supported systems are POSIX-based, the affected code
is moved to lsan_posix.{cpp.h}.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73309

Files:
  compiler-rt/lib/lsan/CMakeLists.txt
  compiler-rt/lib/lsan/lsan.cpp
  compiler-rt/lib/lsan/lsan.h
  compiler-rt/lib/lsan/lsan_interceptors.cpp
  compiler-rt/lib/lsan/lsan_posix.cpp
  compiler-rt/lib/lsan/lsan_posix.h
  compiler-rt/lib/lsan/lsan_thread.cpp
  compiler-rt/lib/lsan/lsan_thread.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73309.240055.patch
Type: text/x-patch
Size: 12157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200124/ac072bb1/attachment.bin>


More information about the llvm-commits mailing list