xref: /freebsd/tools/build/options/INIT_ALL (revision 2befa269b869c810b4436b7b5fe922ac3278ee5e)
1*2befa269SBrooks DavisControl default initialization of stack variables in C and C++ code.
2*2befa269SBrooks DavisOptions other than
3*2befa269SBrooks Davis.Li none
4*2befa269SBrooks Davisrequire the Clang compiler or GCC 12.0 or later.
5*2befa269SBrooks DavisThe default value is
6*2befa269SBrooks Davis.Li none .
7*2befa269SBrooks DavisValid values are:
8*2befa269SBrooks Davis.Bl -tag -width indent
9*2befa269SBrooks Davis.It Li none
10*2befa269SBrooks DavisDo not initialize stack variables (standard C/C++ behavior).
11*2befa269SBrooks Davis.It Li pattern
12*2befa269SBrooks DavisBuild the base system or kernel with stack variables initialized to
13*2befa269SBrooks Davis.Pq compiler defined
14*2befa269SBrooks Davisdebugging patterns on function entry.
15*2befa269SBrooks Davis.It Li zero
16*2befa269SBrooks DavisBuild the base system or kernel with stack variables initialized
17*2befa269SBrooks Davisto zero on function entry.
18*2befa269SBrooks DavisThis value is converted to
19*2befa269SBrooks Davis.Li none
20*2befa269SBrooks Davisfor amd64 kernel builds due to incompatability with ifunc memset.
21*2befa269SBrooks Davis.El
22