Re: [PATCH v6 09/18] gendwarfksyms: Limit structure expansion

2024-12-02 Thread Petr Pavlu
On 11/21/24 21:42, Sami Tolvanen wrote: > Expand each structure type only once per exported symbol. This > is necessary to support self-referential structures, which would > otherwise result in infinite recursion, and it's sufficient for > catching ABI changes. > > Types defined in .c files are op

[PATCH v6 09/18] gendwarfksyms: Limit structure expansion

2024-11-21 Thread Sami Tolvanen
Expand each structure type only once per exported symbol. This is necessary to support self-referential structures, which would otherwise result in infinite recursion, and it's sufficient for catching ABI changes. Types defined in .c files are opaque to external users and thus cannot affect the AB