1 //===-- asan_test_config.h --------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file is a part of AddressSanitizer, an address sanity checker.
11 //===----------------------------------------------------------------------===//
12 #if !defined(INCLUDED_FROM_ASAN_TEST_UTILS_H)
13 # error "This file should be included into asan_test_utils.h only"
16 #ifndef ASAN_TEST_CONFIG_H
17 #define ASAN_TEST_CONFIG_H
24 # error "please define ASAN_UAR"
27 #ifndef ASAN_HAS_EXCEPTIONS
28 # error "please define ASAN_HAS_EXCEPTIONS"
31 #ifndef ASAN_HAS_IGNORELIST
32 # error "please define ASAN_HAS_IGNORELIST"
35 #ifndef ASAN_NEEDS_SEGV
37 # define ASAN_NEEDS_SEGV 0
39 # define ASAN_NEEDS_SEGV 1
43 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
44 # define ASAN_AVOID_EXPENSIVE_TESTS 0
47 #define ASAN_PCRE_DOTALL ""
49 #endif // ASAN_TEST_CONFIG_H