[Bug middle-end/107941] json diagnostics format does not include header stack info

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 20 10:17:06 GMT 2024


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |SARIF

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
The SARIF spec supports recording include stack info via the 3.34
"locationRelationship" object (in SARIF 2.1.0); we're just not yet generating
it yet.

I plan to implement this in our SARIF output (adding "SARIF" keyword).

FWIW I wasn't planning to add anything further to GCC's "json" output, focusing
instead on SARIF output.


More information about the Gcc-bugs mailing list