diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2025-05-28 11:49:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-28 11:49:40 -0700 |
commit | b03558080eda9ebe3955afdd52aed902c5087310 (patch) | |
tree | 65a97a5cd822badb3af4f19768681438e39f3e2a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | a4b2f4a72aa9b4655ecc723838830e0a7f29c9ca (diff) | |
download | llvm-b03558080eda9ebe3955afdd52aed902c5087310.zip llvm-b03558080eda9ebe3955afdd52aed902c5087310.tar.gz llvm-b03558080eda9ebe3955afdd52aed902c5087310.tar.bz2 |
[ItaniumMangle] Make sure class types are added to the dictionary of substitution candidates when compiling for older ABIs (#138947)
`mangleCXXRecordDecl` should add class types to the substitution
dictionary unless it is called by `mangleCXXCtorVTable` (see
https://github.com/llvm/llvm-project/pull/109970 for why that is
needed).
This fixes a mis-compile caused by
https://github.com/llvm/llvm-project/pull/132401, which started calling
`mangleCXXRecordDecl` in `CXXNameMangler::mangleType(const
MemberPointerType *T)`.
rdar://149307496
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions