[PATCH] [ASan] Allow to atomically modify malloc_context_size at runtime.

Alexey Samsonov vonosmas at gmail.com
Fri Dec 12 13:05:46 PST 2014


Hi kcc, eugenis,

Introduce __asan::malloc_context_size atomic that is used to determine
required malloc/free stack trace size. It is initialized with
common_flags()->malloc_context_size flag, but can later be overwritten
at runtime (e.g. when ASan is activated / deactivated).

http://reviews.llvm.org/D6645

Files:
  lib/asan/asan_activation.cc
  lib/asan/asan_rtl.cc
  lib/asan/asan_stack.cc
  lib/asan/asan_stack.h
  lib/sanitizer_common/sanitizer_stacktrace.cc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6645.17244.patch
Type: text/x-patch
Size: 5358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141212/552ab5c5/attachment.bin>


More information about the llvm-commits mailing list