1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of AddressSanitizer, an address sanity checker.
10 //
11 //===----------------------------------------------------------------------===//
12 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
13 # error "This file should be included into asan_test_utils.h only"
14 #endif
15 
16 #ifndef ASAN_TEST_CONFIG_H
17 #define ASAN_TEST_CONFIG_H
18 
19 #include <string>
20 
21 using std::string;
22 
23 #ifndef ASAN_UAR
24 # error "please define ASAN_UAR"
25 #endif
26 
27 #ifndef ASAN_HAS_EXCEPTIONS
28 # error "please define ASAN_HAS_EXCEPTIONS"
29 #endif
30 
31 #ifndef ASAN_HAS_BLACKLIST
32 # error "please define ASAN_HAS_BLACKLIST"
33 #endif
34 
35 #ifndef ASAN_NEEDS_SEGV
36 # if defined(_WIN32)
37 #  define ASAN_NEEDS_SEGV 0
38 # else
39 #  define ASAN_NEEDS_SEGV 1
40 # endif
41 #endif
42 
43 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
44 # define ASAN_AVOID_EXPENSIVE_TESTS 0
45 #endif
46 
47 #define ASAN_PCRE_DOTALL ""
48 
49 #endif  // ASAN_TEST_CONFIG_H
50