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