Chuanqi Xu
|
5937d7f907
|
[C++20] [Modules] Correct the behavior for adding mangling for lambda in modules
Close https://github.com/llvm/llvm-project/issues/130080
Close https://github.com/llvm/llvm-project/issues/116087
The common pattern of the problem is the lambda is somehow leaked from a
non-inline non-internal function in module purview, and we need to
define a mangling for it by the discuss from
https://github.com/itanium-cxx-abi/cxx-abi/issues/186
The root cause of the issue is a mismatch that give up too quickly when
ManglingContextDecl is nullptr. But we can still get the context
information from DC.
|
2025-12-19 15:44:34 +08:00 |
|