summaryrefslogtreecommitdiff
path: root/lib/asan/asan_flags.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-16 08:42:08 +0000
committerKostya Serebryany <kcc@google.com>2013-12-16 08:42:08 +0000
commit1f45e6480f8b5dfa5d2fd1d05ca6a22c315db461 (patch)
treed9a340eae1be4cd72c88983270979f36b414e304 /lib/asan/asan_flags.h
parentdfafbc5a15a1ea6739bec0f96be301fe2ec1dedc (diff)
downloadcompiler-rt-1f45e6480f8b5dfa5d2fd1d05ca6a22c315db461.tar.gz
[asan] replace the flag uar_stack_size_log with two flags min_uar_stack_size_log/max_uar_stack_size_log
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@197370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_flags.h')
-rw-r--r--lib/asan/asan_flags.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/asan/asan_flags.h b/lib/asan/asan_flags.h
index 9dc221175..c828b815a 100644
--- a/lib/asan/asan_flags.h
+++ b/lib/asan/asan_flags.h
@@ -52,8 +52,9 @@ struct Flags {
bool mac_ignore_invalid_free;
// Enables stack-use-after-return checking at run-time.
bool detect_stack_use_after_return;
- // The minimal fake stack size log.
- int uar_stack_size_log;
+ // The minimal and the maximal fake stack size log.
+ int min_uar_stack_size_log;
+ int max_uar_stack_size_log;
// Use mmap with 'norserve' flag to allocate fake stack.
bool uar_noreserve;
// ASan allocator flag. max_malloc_fill_size is the maximal amount of bytes