[PATCH] [ASan] Allow to atomically modify malloc_context_size at runtime.
Kostya Serebryany
kcc at google.com
Fri Dec 12 15:17:33 PST 2014
================
Comment at: lib/asan/asan_stack.h:26
@@ +25,3 @@
+static const u32 kDefaultMallocContextSize = 30;
+extern atomic_uint32_t malloc_context_size;
+
----------------
I'd prefer to have it a static var with a getter
http://reviews.llvm.org/D6645
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list