[PATCHSET] Add error metadata to diagnostics
Arthur Cohen
arthur.cohen@embecosm.com
Thu Sep 7 09:39:03 GMT 2023
Pushed to trunk this morning with Changelogs and SoB lines.
Thanks for the review David!
All the best,
Arthur
On 9/6/23 15:53, Arthur Cohen wrote:
> This short patchset from David Malcolm enables errors to contain extra
> metadata - this is particularly useful for the Rust frontend, which will
> rely on that implementation to emit standard Rust error codes [1].
>
> This series of patches is necessary for much of our more recent
> additions to the frontend, including the work of one of this year's GSoC
> student, Mahad Muhammad, who has spent a lot of time working on emitting
> these error codes from the Rust frontend for GCC.
>
> We will soon resume upstreaming patches from our development repository
> to the main GCC repository, in the hopes of distributing the Rust frontend
> as part of the GCC 14.1 release.
>
> [PATCH 1/2] diagnostics: add error_meta
> [PATCH 2/2] Experiment with adding an error code to an error
>
> Are these OK for trunk?
>
> Kindly,
>
> Arthur
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x1B3465B044AD9C65.asc
Type: application/pgp-keys
Size: 3143 bytes
Desc: OpenPGP public key
URL: <https://gcc.gnu.org/pipermail/gcc-rust/attachments/20230907/6a30a8f1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-rust/attachments/20230907/6a30a8f1/attachment-0001.sig>
More information about the Gcc-rust
mailing list