Skip to content
Snippets Groups Projects
Commit dd950cbb authored by Tom Tromey's avatar Tom Tromey Committed by Arthur Cohen
Browse files

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: default avatarMark Wielaard <mark@klomp.org>
Co-authored-by: default avatarMarc Poulhiès <dkm@kataplop.net>
parent b4fddbe9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment