Zephyr Project API
4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_toolchain.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Google, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_TESTSUITE_INCLUDE_TEST_TOOLCHAIN_H_
8
#define ZEPHYR_TESTSUITE_INCLUDE_TEST_TOOLCHAIN_H_
9
10
#include <
zephyr/toolchain.h
>
11
12
#if defined(__llvm__) || (defined(_LINKER) && defined(__LLD_LINKER_CMD__))
13
#include <
zephyr/test_toolchain/llvm.h
>
14
#elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__))
15
#include <
zephyr/test_toolchain/gcc.h
>
16
#endif
17
25
#ifndef TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
26
#define TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
27
#endif
28
36
#ifndef TOOLCHAIN_WARNING_DANGLING_POINTER
37
#define TOOLCHAIN_WARNING_DANGLING_POINTER
38
#endif
39
47
#ifndef TOOLCHAIN_WARNING_FORMAT_TRUNCATION
48
#define TOOLCHAIN_WARNING_FORMAT_TRUNCATION
49
#endif
50
58
#ifndef TOOLCHAIN_WARNING_INFINITE_RECURSION
59
#define TOOLCHAIN_WARNING_INFINITE_RECURSION
60
#endif
61
69
#ifndef TOOLCHAIN_WARNING_INTEGER_OVERFLOW
70
#define TOOLCHAIN_WARNING_INTEGER_OVERFLOW
71
#endif
72
80
#ifndef TOOLCHAIN_WARNING_OVERFLOW
81
#define TOOLCHAIN_WARNING_OVERFLOW
82
#endif
83
91
#ifndef TOOLCHAIN_WARNING_PRAGMAS
92
#define TOOLCHAIN_WARNING_PRAGMAS
93
#endif
94
102
#ifndef TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
103
#define TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
104
#endif
105
113
#ifndef TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
114
#define TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
115
#endif
116
124
#ifndef TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
125
#define TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
126
#endif
127
135
#ifndef TOOLCHAIN_WARNING_UNUSED_FUNCTION
136
#define TOOLCHAIN_WARNING_UNUSED_FUNCTION
137
#endif
138
139
#endif
gcc.h
llvm.h
toolchain.h
Macros to abstract toolchain specific capabilities.
subsys
testsuite
include
zephyr
test_toolchain.h
Generated on Sun May 4 2025 13:59:47 for Zephyr Project API by
1.9.8