[PATCH] [sanitizer_common] Refactor SuspendedThreadsList to let it be used with different thread ID types

Alexander Potapenko glider at google.com
Wed Jul 23 09:00:45 PDT 2014


Hi earthdok,

This patch makes SuspendedThreadsList a template parameterized by the thread ID type, so that different platforms (e.g. Linux and OSX) can share the implementation. The SuspendedThreadsRegisters interface is extracted to keep existing code that uses SuspendedThreadsList platform-agnostic.

http://reviews.llvm.org/D4639

Files:
  lib/lsan/lsan_common.cc
  lib/sanitizer_common/sanitizer_stoptheworld.h
  lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4639.11811.patch
Type: text/x-patch
Size: 7187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140723/e1780465/attachment.bin>


More information about the llvm-commits mailing list