]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/asan/asan_activation_flags.inc
MFV r347136:
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / asan / asan_activation_flags.inc
1 //===-- asan_activation_flags.inc -------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // A subset of ASan (and common) runtime flags supported at activation time.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef ASAN_ACTIVATION_FLAG
14 # error "Define ASAN_ACTIVATION_FLAG prior to including this file!"
15 #endif
16
17 #ifndef COMMON_ACTIVATION_FLAG
18 # error "Define COMMON_ACTIVATION_FLAG prior to including this file!"
19 #endif
20
21 // ASAN_ACTIVATION_FLAG(Type, Name)
22 // See COMMON_FLAG in sanitizer_flags.inc for more details.
23
24 ASAN_ACTIVATION_FLAG(int, redzone)
25 ASAN_ACTIVATION_FLAG(int, max_redzone)
26 ASAN_ACTIVATION_FLAG(int, quarantine_size_mb)
27 ASAN_ACTIVATION_FLAG(int, thread_local_quarantine_size_kb)
28 ASAN_ACTIVATION_FLAG(bool, alloc_dealloc_mismatch)
29 ASAN_ACTIVATION_FLAG(bool, poison_heap)
30
31 COMMON_ACTIVATION_FLAG(bool, allocator_may_return_null)
32 COMMON_ACTIVATION_FLAG(int, malloc_context_size)
33 COMMON_ACTIVATION_FLAG(bool, coverage)
34 COMMON_ACTIVATION_FLAG(const char *, coverage_dir)
35 COMMON_ACTIVATION_FLAG(int, verbosity)
36 COMMON_ACTIVATION_FLAG(bool, help)
37 COMMON_ACTIVATION_FLAG(s32, allocator_release_to_os_interval_ms)