[clang] [ItaniumMangle] Make sure class types are added to the dictionary of substitution candidates when compiling for older ABIs (PR #138947)
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 10 01:18:41 PDT 2025
tcwzxx wrote:
> > Given that the mangleCXXRecordDecl function is used outside of the `MangleVTable` , I think the ABI compatibility logic should be moved to mangleCXXCtorVTable
>
> Could you elaborate on how to separate just the ABI compatibility logic from `mangleCXXRecordDecl`?
>
> Wouldn't you have to move the code to `mangleCXXVTable` and `mangleCXXVTT` too? I'm not sure we want to duplicate code in multiple functions.
Sorry, it was my misunderstanding. Please ignore it.
https://github.com/llvm/llvm-project/pull/138947
More information about the cfe-commits
mailing list