xref: /freebsd/tools/build/options/INIT_ALL (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
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