mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
3137de6146
Before this commit, the DLA frontend wasn't initializing the size of stack types properly, nor tracking the fact that they are not scalar. These 2 problems were causing stack types to be merged with other types in the DLA pipeline, possibly even scalar types and in some situations changing the size of the stack type. All these consequences were just wrong and need to be avoided because they break assumptions of the DLA pipeline, leading to crashes in the DLA backend, when trying update the model to integrate DLA's results. This commit prevents all the mentioned wrong manipulation of stack types, simply by correctly assigning an the size of the stack type from the beginning, and marking it as non scalar.