1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // This file is a part of AddressSanitizer, an address sanity checker.
10 //===----------------------------------------------------------------------===//
11 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
12 # error "This file should be included into asan_test_utils.h only"
15 #ifndef ASAN_TEST_CONFIG_H
16 #define ASAN_TEST_CONFIG_H
27 # error "please define ASAN_UAR"
30 #ifndef ASAN_HAS_EXCEPTIONS
31 # error "please define ASAN_HAS_EXCEPTIONS"
34 #ifndef ASAN_HAS_BLACKLIST
35 # error "please define ASAN_HAS_BLACKLIST"
38 #ifndef ASAN_NEEDS_SEGV
40 # define ASAN_NEEDS_SEGV 0
42 # define ASAN_NEEDS_SEGV 1
46 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
47 # define ASAN_AVOID_EXPENSIVE_TESTS 0
50 #define ASAN_PCRE_DOTALL ""
52 #endif // ASAN_TEST_CONFIG_H