aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc-urlifier.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-01-10 13:23:46 +0100
committerEric Botcazou <ebotcazou@adacore.com>2024-01-10 13:27:24 +0100
commit5d8b60effc7268448a94fbbbad923ab6871252cd (patch)
treef1fe74d5b3bbf442c0e620462c98eaa56e28dead /gcc/gcc-urlifier.cc
parent898c39ca80b0cd0e5a19de5e46a5802b6cadc39c (diff)
downloadgcc-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/gcc-urlifier.cc')
0 files changed, 0 insertions, 0 deletions