[PATCH] add Linux syscall wrappers and ThreadLister to sanitizer_common

Sergey Matveev earthdok at google.com
Tue Feb 26 04:45:28 PST 2013


Hi kcc, glider, samsonov,

ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code.

Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself.

http://llvm-reviews.chandlerc.com/D464

Files:
  lib/interception/interception.h
  lib/sanitizer_common/CMakeLists.txt
  lib/sanitizer_common/sanitizer_internal_defs.h
  lib/sanitizer_common/sanitizer_libc.h
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_linux.h
  lib/sanitizer_common/tests/CMakeLists.txt
  lib/sanitizer_common/tests/sanitizer_linux_test.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D464.1.patch
Type: text/x-patch
Size: 12084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130226/b45c08b4/attachment.bin>


More information about the llvm-commits mailing list