[PATCH] D28068: Whenever reasonable, merge ASAN quarantine batches to save memory.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 17:20:11 PST 2017


alekseyshl updated this revision to Diff 84915.
alekseyshl added a comment.

- Address comments.
- Add a test to verify "one allocation per thread" scenario.
- Add unit test for SanitizerQuarantine batch transfers.
- Add dropped out line back.
- Merge quarantine blocks on Recycle, not on Put.


https://reviews.llvm.org/D28068

Files:
  lib/sanitizer_common/sanitizer_list.h
  lib/sanitizer_common/sanitizer_quarantine.h
  lib/sanitizer_common/tests/CMakeLists.txt
  lib/sanitizer_common/tests/sanitizer_list_test.cc
  lib/sanitizer_common/tests/sanitizer_quarantine_test.cc
  test/asan/TestCases/Linux/thread_local_quarantine_pthread_join.cc
  test/asan/TestCases/Linux/thread_local_quarantine_size_kb.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28068.84915.patch
Type: text/x-patch
Size: 20538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/e111f3e9/attachment.bin>


More information about the llvm-commits mailing list