This revision ports all libFuzzer tests apart from the unittest to LIT.
The advantages of doing so were already discussed, and include:
- Tests being self-contained
- Much easier debugging of a single test
- No need to use two-stage compilation
The unit-test is still compiled using CMake, but it does not need a freshly built compiler.
Disadvantages require multiple test recompilation, but on my machine the final result is actually faster then the previous configuration (probably due to the fact that tests are compiled without optimizations).
Do you ever set asan_enabled to false?
If not, I guess you can remove this flag.