On Wed, 2024-11-13 at 14:10 -0500, David Malcolm wrote:
> Here's v4 of my patch kit for "libdiagnostics", which makes GCC's
> diagnostics subsystem available as a shared library; see:
>   https://gcc.gnu.org/wiki/libdiagnostics
> 
> New in v4:
> * tutorial and API documentation (see patch 4)
> * added DIAGNOSTIC_SARIF_VERSION_2_2_PRERELEASE
> * reimplemented FAIL_IF_NULL to stop checks being optimized away
> * various changes to testsuite help with API docs
> * rebased and updated for all the various refactorings
>   done to diagnostics in trunk since v3
> 
> Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu;
> adds two new .sum files:
> 
>   BUILD/gcc/testsuite/libdiagnostics/libdiagnostics.sum:
>     PASS: 135 tests
> 
>   BUILD/gcc/testsuite/sarif-replay/sarif-replay.sum:
>     PASS: 66 tests
> 
> 
> David Malcolm (8):
>   libdiagnostics v4: header
>   libdiagnostics v4: implementation
>   libdiagnostics: add API docs
>   libdiagnostics v4: add C++ wrapper API
>   testsuite: move dg-test cleanup code from gcc-dg.exp to its own
> file
>   libdiagnostics v4: test suite
>   json: add json parsing support
>   libdiagnostics: add a "sarif-replay" command-line tool [PR96032]

I've gone ahead and pushed this to trunk as:

* r15-5427-gc9d21e19df2836: testsuite: move dg-test cleanup code from
gcc-dg.exp to its own file
* r15-5428-g99a909aba3bd26: Add libdiagnostics (v4) (patches 1-4, 6 of
the above)
* r15-5429-g66e6e4f131e517: json: add json parsing support
* r15-5430-gea1506adbe7544: libdiagnostics: add a "sarif-replay"
command-line tool [PR96032]

after re-testing.

I've added two new components to the GCC product in our bugzilla
instance: "libdiagnostics" and "sarif-replay", for tracking bugs with
these.

Dave

Reply via email to