aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gendwarfksyms/cache.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-01-11gendwarfksyms: Limit structure expansionSami Tolvanen1-0/+51
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 ABI. Consider type definitions in .c files to be declarations to prevent opaque types from changing symbol versions. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>