[PATCH] D143634: [ModuleUtils] Assert correct linkage and visibility of structors' COMDAT key
Marco Elver via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 02:30:10 PST 2023
melver added a comment.
This is currently more an RFC - there might be other side-effects not yet accounted for, so please review carefully.
Although I have been able to reproduce the issue with an LTO and ASan build quite easily. If this is a common usecase for us, we might potentially save a good amount of .text size because of the 1000s of redundant structors.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143634/new/
https://reviews.llvm.org/D143634
More information about the llvm-commits
mailing list