[all-commits] [llvm/llvm-project] 38fd18: [lsan] Factor pthread-specific assumptions out of ...

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Jan 24 16:56:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 38fd1806a169150f720b4f38baf4be2b5a572701
      https://github.com/llvm/llvm-project/commit/38fd1806a169150f720b4f38baf4be2b5a572701
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2020-01-24 (Fri, 24 Jan 2020)

  Changed paths:
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/lsan/lsan.cpp
    M compiler-rt/lib/lsan/lsan.h
    M compiler-rt/lib/lsan/lsan_interceptors.cpp
    A compiler-rt/lib/lsan/lsan_posix.cpp
    A compiler-rt/lib/lsan/lsan_posix.h
    M compiler-rt/lib/lsan/lsan_thread.cpp
    M compiler-rt/lib/lsan/lsan_thread.h

  Log Message:
  -----------
  [lsan] Factor pthread-specific assumptions out of thread tracking code

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}.

Patch By: mcgrathr

Differential Revision: https://reviews.llvm.org/D73309




More information about the All-commits mailing list