[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-31 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #3 from David Malcolm --- >From what I can tell, in Microsoft's implementation the JSON-RPC messages are being "packaged" or "framed" via LSP's base protocol, as per: https://microsoft.github.io/language-server-protocol/specificatio

[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #2 from David Malcolm --- One difference here is that VS code is sending the diagnostics one at a time as JSON-RPC messages containing SARIF "result" objects as they occur, whereas currently we write all our SARIF output at once on e

[Bug other/115970] RFE: add support for sending SARIF output to a pipe

2024-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115970 --- Comment #1 from Andrew Pinski --- Isn't this just writing through a named pipe?