diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-01-10 13:23:46 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2024-01-10 13:27:24 +0100 |
commit | 5d8b60effc7268448a94fbbbad923ab6871252cd (patch) | |
tree | f1fe74d5b3bbf442c0e620462c98eaa56e28dead /gcc/tree-vect-loop.cc | |
parent | 898c39ca80b0cd0e5a19de5e46a5802b6cadc39c (diff) | |
download | gcc-5d8b60effc7268448a94fbbbad923ab6871252cd.zip gcc-5d8b60effc7268448a94fbbbad923ab6871252cd.tar.gz gcc-5d8b60effc7268448a94fbbbad923ab6871252cd.tar.bz2 |
Fix debug info for enumeration types with reverse Scalar_Storage_Order
This implements the support of DW_AT_endianity for enumeration types because
they are scalar and therefore, reverse Scalar_Storage_Order is supported for
them, but only when the -gstrict-dwarf switch is not passed because this is
an extension.
There is an associated GDB patch to be submitted to grok the new DWARF.
gcc/
* dwarf2out.cc (modified_type_die): Extend the support of reverse
storage order to enumeration types if -gstrict-dwarf is not passed.
(gen_enumeration_type_die): Add REVERSE parameter and generate the
DIE immediately after the existing one if it is true.
(gen_tagged_type_die): Add REVERSE parameter and pass it in the
call to gen_enumeration_type_die.
(gen_type_die_with_usage): Add REVERSE parameter and pass it in the
first recursive call as well as the call to gen_tagged_type_die.
(gen_type_die): Add REVERSE parameter and pass it in the call to
gen_type_die_with_usage.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions