Open mlugg opened 3 weeks ago
Regarding fuzzing, here are some properties we can test in addition to the obvious ones (i.e. not panicking or crashing)
std.process.exit
to be reanalyzed. This applies to everything not generated by the test case, assuming the test case cannot set std options.
Incremental compilation is beginning to work on master under
-fno-emit-bin
or-ofmt=c
. Bug reports for crashes or incorrect behavior when using incremental compilation with these compiler flags are encouraged.Rather than bugs in existing parts of the incremental compilation logic, this issue tracks all logic which is explicitly WIP or incomplete, such as most linkers.
Codegen and linking
Other
std.builtin.panic
and other cached valuesZcu
, e.g.Zcu.panic_func_index
panic
don't register the correct dependencies and can crash the compiler or worsestd.builtin
typesZcu.PerThread.getBuiltin
etc should live onSema
so as to register appropriate dependenciesCau
to track dependencies properlyresolveReferences
Zcu
Tooling
-fincremental
and has a way to give it to the user, this could be useful for incremental bug reports