HomePhabricator

Give external linkage and mangling to lambdas inside inline variables and…

Description

Give external linkage and mangling to lambdas inside inline variables and variable templates.

This implements the proposed approach in https://github.com/itanium-cxx-abi/cxx-abi/issues/33

This reinstates r313827, reverted in r313856, with a fix for the 'out-of-bounds
enumeration value' ubsan error in that change.

Details

Committed
rsmithSep 21 2017, 9:25 PM
Parents
rL313954: Driver: remove support for libstdc++ from CrossWindows
Branches
Unknown
Tags
Unknown

Event Timeline

evstupac added inline comments.
/cfe/trunk/lib/AST/ItaniumMangle.cpp
1701

Unused variable TD

evstupac added inline comments.Sep 26 2017, 6:48 PM
/cfe/trunk/lib/AST/ItaniumMangle.cpp
1701

Missed r313991. Please ignore the comment.