[PATCH] D74154: LSAN for android

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 11:56:20 PST 2020


oontvoo created this revision.
oontvoo added reviewers: jyknight, eugenis.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

LSAN for Android.

  
  Resurrecting https://reviews.llvm.org/D22631#inline-194582, with a few "hacks" removed, now that TLS is already supported.
  **Note**: This depends on the change in Bionic (https://android-review.googlesource.com/c/platform/bionic/+/1228403)
  
  Tested: Manually on device - seemed to work.


https://reviews.llvm.org/D74154

Files:
  compiler-rt/lib/lsan/lsan.cpp
  compiler-rt/lib/lsan/lsan_allocator.h
  compiler-rt/lib/lsan/lsan_common.h
  compiler-rt/lib/lsan/lsan_interceptors.cpp
  compiler-rt/lib/lsan/lsan_linux.cpp
  compiler-rt/lib/lsan/lsan_thread.cpp
  compiler-rt/lib/lsan/lsan_thread.h
  compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
  compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
  compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74154.242973.patch
Type: text/x-patch
Size: 10178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200206/7e7959e6/attachment-0001.bin>


More information about the llvm-commits mailing list