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