[PATCH] [lsan] Add __lsan_disable() and __lsan_enable().

Sergey Matveev earthdok at google.com
Fri May 31 06:51:11 PDT 2013


Hi kcc, glider, samsonov,

Objects allocated after a call to __lsan_disable() will be treated as
live memory. Also adds a ScopedDisabler.

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

Files:
  include/sanitizer/lsan_interface.h
  lib/asan/asan_allocator2.cc
  lib/asan/asan_thread.cc
  lib/asan/asan_thread.h
  lib/lsan/lit_tests/TestCases/disabler.cc
  lib/lsan/lsan_allocator.cc
  lib/lsan/lsan_common.cc
  lib/lsan/lsan_common.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D900.1.patch
Type: text/x-patch
Size: 10824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130531/910cd950/attachment.bin>


More information about the llvm-commits mailing list