diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2025-01-17 00:23:45 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2025-01-17 00:54:47 +0100 |
commit | d740694ff89ab5c78652a1f66b058ca16634ddbc (patch) | |
tree | 25c5cb3839da05635103e7fe146ba61b4c5ec321 /gcc/c | |
parent | 15a7544e09d81fd35edcc32adc08e494e4debcc2 (diff) | |
download | gcc-d740694ff89ab5c78652a1f66b058ca16634ddbc.zip gcc-d740694ff89ab5c78652a1f66b058ca16634ddbc.tar.gz gcc-d740694ff89ab5c78652a1f66b058ca16634ddbc.tar.bz2 |
d: Fix record layout of compiler-generated TypeInfo_Class [PR115249]
In r14-8766, the layout of TypeInfo_Class changed in the runtime
library, but didn't get reflected in the compiler-generated data,
causing a corruption of runtime type introspection on BigEndian targets.
This adjusts the size of the `ClassFlags' field from uint to ushort, and
adds a new ushort `depth' field in the space where ClassFlags used to
occupy.
PR d/115249
gcc/d/ChangeLog:
* typeinfo.cc (create_tinfo_types): Update internal Typenfo
representation.
(TypeInfoVisitor::visit (TypeInfoClassDeclaration *)): Likewise.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions