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

Alexey Samsonov vonosmas at gmail.com
Fri Dec 12 15:43:46 PST 2014


================
Comment at: lib/asan/asan_stack.h:26
@@ +25,3 @@
+static const u32 kDefaultMallocContextSize = 30;
+extern atomic_uint32_t malloc_context_size;
+
----------------
kcc wrote:
> I'd prefer to have it a static var with a getter 
Done

http://reviews.llvm.org/D6645

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list