compiler: integrate `@compileLog` with incremental compilation

Compile log output is now separated based on the `AnalUnit` which
perfomred the `@compileLog` call, so that we can omit the output for
unreferenced ("dead") units. The units are also sorted when collecting
the `ErrorBundle`, so that compile logs are always printed in a
consistent order, like compile errors are. This is important not only
for incremental compilation, but also for parallel analysis.

Resolves: #23609
8c9c24e09bmlugg committed on 4/20/2025, 5:11:53 PMparent6561a98
7 files changedLine totals unavailable