brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 9aac087 Raw
50 lines · c
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-exception6//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#endif15 16#ifndef ASAN_TEST_CONFIG_H17#define ASAN_TEST_CONFIG_H18 19#include <string>20 21using std::string;22 23#ifndef ASAN_UAR24# error "please define ASAN_UAR"25#endif26 27#ifndef ASAN_HAS_EXCEPTIONS28# error "please define ASAN_HAS_EXCEPTIONS"29#endif30 31#ifndef ASAN_HAS_IGNORELIST32# error "please define ASAN_HAS_IGNORELIST"33#endif34 35#ifndef ASAN_NEEDS_SEGV36# if defined(_WIN32)37#  define ASAN_NEEDS_SEGV 038# else39#  define ASAN_NEEDS_SEGV 140# endif41#endif42 43#ifndef ASAN_AVOID_EXPENSIVE_TESTS44# define ASAN_AVOID_EXPENSIVE_TESTS 045#endif46 47#define ASAN_PCRE_DOTALL ""48 49#endif  // ASAN_TEST_CONFIG_H50