• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
24ASAN_ACTIVATION_FLAG(int, redzone)
25ASAN_ACTIVATION_FLAG(int, max_redzone)
26ASAN_ACTIVATION_FLAG(int, quarantine_size_mb)
27ASAN_ACTIVATION_FLAG(bool, alloc_dealloc_mismatch)
28ASAN_ACTIVATION_FLAG(bool, poison_heap)
29
30COMMON_ACTIVATION_FLAG(bool, allocator_may_return_null)
31COMMON_ACTIVATION_FLAG(int, malloc_context_size)
32COMMON_ACTIVATION_FLAG(bool, coverage)
33COMMON_ACTIVATION_FLAG(const char *, coverage_dir)
34COMMON_ACTIVATION_FLAG(int, verbosity)
35COMMON_ACTIVATION_FLAG(bool, help)
36