1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file is a part of AddressSanitizer, an address sanity checker.
12 //===----------------------------------------------------------------------===//
13 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
14 # error "This file should be included into asan_test_utils.h only"
17 #ifndef ASAN_TEST_CONFIG_H
18 #define ASAN_TEST_CONFIG_H
29 # error "please define ASAN_UAR"
32 #ifndef ASAN_HAS_EXCEPTIONS
33 # error "please define ASAN_HAS_EXCEPTIONS"
36 #ifndef ASAN_HAS_BLACKLIST
37 # error "please define ASAN_HAS_BLACKLIST"
40 #ifndef ASAN_NEEDS_SEGV
42 # define ASAN_NEEDS_SEGV 0
44 # define ASAN_NEEDS_SEGV 1
48 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
49 # define ASAN_AVOID_EXPENSIVE_TESTS 0
52 #define ASAN_PCRE_DOTALL ""
54 #endif // ASAN_TEST_CONFIG_H