]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/build/options/INIT_ALL
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
[FreeBSD/FreeBSD.git] / tools / build / options / INIT_ALL
1 Control default initialization of stack variables in C and C++ code.
2 Options other than
3 .Li none
4 require the Clang compiler or GCC 12.0 or later.
5 The default value is
6 .Li none .
7 Valid values are:
8 .Bl -tag -width indent
9 .It Li none
10 Do not initialize stack variables (standard C/C++ behavior).
11 .It Li pattern
12 Build the base system or kernel with stack variables initialized to
13 .Pq compiler defined
14 debugging patterns on function entry.
15 .It Li zero
16 Build the base system or kernel with stack variables initialized
17 to zero on function entry.
18 This value is converted to
19 .Li none
20 for amd64 kernel builds due to incompatability with ifunc memset.
21 .El