Zephyr API Documentation
4.3.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
#elif defined(__IAR_SYSTEMS_ICC__)
17
#include <
zephyr/test_toolchain/iar.h
>
18
#endif
19
27
#ifndef TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
28
#define TOOLCHAIN_WARNING_ALLOC_SIZE_LARGER_THAN
29
#endif
30
38
#ifndef TOOLCHAIN_WARNING_DANGLING_POINTER
39
#define TOOLCHAIN_WARNING_DANGLING_POINTER
40
#endif
41
49
#ifndef TOOLCHAIN_WARNING_FORMAT_TRUNCATION
50
#define TOOLCHAIN_WARNING_FORMAT_TRUNCATION
51
#endif
52
60
#ifndef TOOLCHAIN_WARNING_INFINITE_RECURSION
61
#define TOOLCHAIN_WARNING_INFINITE_RECURSION
62
#endif
63
71
#ifndef TOOLCHAIN_WARNING_INTEGER_OVERFLOW
72
#define TOOLCHAIN_WARNING_INTEGER_OVERFLOW
73
#endif
74
82
#ifndef TOOLCHAIN_WARNING_OVERFLOW
83
#define TOOLCHAIN_WARNING_OVERFLOW
84
#endif
85
93
#ifndef TOOLCHAIN_WARNING_PRAGMAS
94
#define TOOLCHAIN_WARNING_PRAGMAS
95
#endif
96
104
#ifndef TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
105
#define TOOLCHAIN_WARNING_SIZEOF_ARRAY_DECAY
106
#endif
107
115
#ifndef TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
116
#define TOOLCHAIN_WARNING_STRINGOP_OVERFLOW
117
#endif
118
126
#ifndef TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
127
#define TOOLCHAIN_WARNING_STRINGOP_TRUNCATION
128
#endif
129
137
#ifndef TOOLCHAIN_WARNING_UNUSED_FUNCTION
138
#define TOOLCHAIN_WARNING_UNUSED_FUNCTION
139
#endif
140
141
#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 API Documentation by
1.15.0