https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110522

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
I wonder if extending -fdiagnostics-format to support extra args would be a way
out of this e.g.

  -fdiagnostics-format=sarif-file=path/to/foo.sarif

But it would also be nice to support multiple output streams e.g.

  -fdiagnostics-format=text,sarif-file=path/to/foo.sarif

Or a new param:

  -fdiagnostics-sarif-output-file=PATH/TO/foo.sarif

or somesuch.

Reply via email to