[AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDGPUAttributor (#94647)
[llvm-project.git] / compiler-rt / lib / asan / tests / asan_test_config.h
blob9aac0875987a2863d88b2e2414d04bd485013956
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.
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
16 #ifndef ASAN_TEST_CONFIG_H
17 #define ASAN_TEST_CONFIG_H
19 #include <string>
21 using std::string;
23 #ifndef ASAN_UAR
24 # error "please define ASAN_UAR"
25 #endif
27 #ifndef ASAN_HAS_EXCEPTIONS
28 # error "please define ASAN_HAS_EXCEPTIONS"
29 #endif
31 #ifndef ASAN_HAS_IGNORELIST
32 # error "please define ASAN_HAS_IGNORELIST"
33 #endif
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
43 #ifndef ASAN_AVOID_EXPENSIVE_TESTS
44 # define ASAN_AVOID_EXPENSIVE_TESTS 0
45 #endif
47 #define ASAN_PCRE_DOTALL ""
49 #endif // ASAN_TEST_CONFIG_H