pcc added a comment.
I've always considered that this should be fixed by extending the
resolution-based LTO API to also include resolutions for comdats.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143634/new/
https://reviews.llvm.org/D143634
__
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
melver created this revision.
melver added reviewers: MaskRay, vitalybuka, fmayer, pcc.
Herald added subscribers: luke, Enna1, kosarev, frasercrmck, kerbowa,
luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o,
brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc2