This is one of two alternative designs that Clang can adopt when writing
SARIF to file. In this design, the Clang driver will bundle all of the
individual SARIF files into a directory called <target>_sarif, with
the files being enumerated in order of compilation.
Please discuss the design of this patch over at
https://discourse.llvm.org/t/adding-options-for-clang-to-write-diagnostics-to-file/67762/,
alongside <OTHER CL>, so that we can incorporate one of them into D145284.
I ask that commentary regarding the implementation be held off until
either this patch or <OTHER CL> is integrated into D145284.
Depends on D145284.