https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116724
--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> --- (In reply to Hans-Peter Nilsson from comment #4) > (In reply to David Malcolm from comment #1) > > > Perhaps we should try to capture both the untranslated text and the > > translated text? SARIF has various abilities for handling translations. > > Works for me! The use-case I was thinking of, is for the SARIF output to be > a nice containment of the non-source-code part of bug-reports FWIW that SARIF can capture embedded copies of source files of interest, and that the GCC SARIF generation code does this for any source file mentioned in a diagnostic. So perhaps the .sarif file could contain everything.