diff options
author | Tom Tromey <tom@tromey.com> | 2022-08-23 15:47:13 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-12-13 14:00:02 +0100 |
commit | dd950cbbb97ff5ebc203cba6c2112edd322b6f35 (patch) | |
tree | 16b962ee025f53bd101f93300a74bf298d4feb62 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | b4fddbe9592e9feb37ce567d90af822b75995531 (diff) | |
download | gcc-dd950cbbb97ff5ebc203cba6c2112edd322b6f35.zip gcc-dd950cbbb97ff5ebc203cba6c2112edd322b6f35.tar.gz gcc-dd950cbbb97ff5ebc203cba6c2112edd322b6f35.tar.bz2 |
Use DW_ATE_UTF for the Rust 'char' type
The Rust 'char' type should use the DWARF DW_ATE_UTF encoding.
gcc/
* dwarf2out.cc (is_rust): New.
(base_type_die): Use DW_ATE_UTF for the Rust 'char' type.
(gen_compile_unit_die): Handle "GNU Rust".
Co-authored-by: Mark Wielaard <mark@klomp.org>
Co-authored-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions