> It doesn't look to me like DW_AT_endianity is applicable to array types > or members in DWARF 3/4; instead, it should be applied to the underlying > base type.
Yeah, I agreed but Jakub didn't and I trust him more than myself here. :-) https://gcc.gnu.org/ml/gcc/2015-06/msg00143.html https://gcc.gnu.org/ml/gcc/2015-06/msg00144.html https://gcc.gnu.org/ml/gcc/2015-06/msg00147.html -- Eric Botcazou