1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file is a part of AddressSanitizer, an address sanity checker.
9 //
10 //===----------------------------------------------------------------------===//
11 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
12 # error "This file should be included into asan_test_utils.h only"
13 #endif
14 
15 #ifndef ASAN_TEST_CONFIG_H
16 #define ASAN_TEST_CONFIG_H
17 
18 #include <vector>
19 #include <string>
20 #include <map>
21 
22 using std::string;
23 using std::vector;
24 using std::map;
25 
26 #ifndef ASAN_UAR
27 # error "please define ASAN_UAR"
28 #endif
29 
30 #ifndef ASAN_HAS_EXCEPTIONS
31 # error "please define ASAN_HAS_EXCEPTIONS"
32 #endif
33 
34 #ifndef ASAN_HAS_BLACKLIST
35 # error "please define ASAN_HAS_BLACKLIST"
36 #endif
37 
38 #ifndef ASAN_NEEDS_SEGV
39 # if defined(_WIN32)
40 #  define ASAN_NEEDS_SEGV 0
41 # else
42 #  define ASAN_NEEDS_SEGV 1
43 # endif
44 #endif
45 
46 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
47 # define ASAN_AVOID_EXPENSIVE_TESTS 0
48 #endif
49 
50 #define ASAN_PCRE_DOTALL ""
51 
52 #endif  // ASAN_TEST_CONFIG_H
53