Zephyr Project API
4.4.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__) || \
13
(defined(_LINKER) && (defined(__LLD_LINKER_CMD__) || defined(__ELD_LINKER_CMD__)))
14
#include <
zephyr/test_toolchain/llvm.h
>
15
#elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__))
16
#include <
zephyr/test_toolchain/gcc.h
>
17
#elif defined(__IAR_SYSTEMS_ICC__)
18
#include <
zephyr/test_toolchain/iar.h
>
19
#endif
20
28
#ifndef TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
29
#define TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
30
#endif
31
39
#ifndef TOOLCHAIN_WARNING_DANGLING_POINTER
40
#define TOOLCHAIN_WARNING_DANGLING_POINTER
41
#endif
42
50
#ifndef TOOLCHAIN_WARNING_FORMAT_TRUNCATION
51
#define TOOLCHAIN_WARNING_FORMAT_TRUNCATION
52
#endif
53
61
#ifndef TOOLCHAIN_WARNING_INFINITE_RECURSION
62
#define TOOLCHAIN_WARNING_INFINITE_RECURSION
63
#endif
64
72
#ifndef TOOLCHAIN_WARNING_INTEGER_OVERFLOW
73
#define TOOLCHAIN_WARNING_INTEGER_OVERFLOW
74
#endif
75
83
#ifndef TOOLCHAIN_WARNING_OVERFLOW
84
#define TOOLCHAIN_WARNING_OVERFLOW
85
#endif
86
94
#ifndef TOOLCHAIN_WARNING_PRAGMAS
95
#define TOOLCHAIN_WARNING_PRAGMAS
96
#endif
97
105
#ifndef TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
106
#define TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
107
#endif
108
116
#ifndef TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
117
#define TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
118
#endif
119
127
#ifndef TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
128
#define TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
129
#endif
130
138
#ifndef TOOLCHAIN_WARNING_UNUSED_FUNCTION
139
#define TOOLCHAIN_WARNING_UNUSED_FUNCTION
140
#endif
141
142
#endif
gcc.h
iar.h
llvm.h
toolchain.h
Macros to abstract toolchain specific capabilities.
subsys
testsuite
include
zephyr
test_toolchain.h
Generated on
for Zephyr Project API by
1.16.1