itanium-cxx-abi / cxx-abi

C++ ABI Summary
507 stars 95 forks source link

unnecessary `E`s after <expression> and mangling collisions between <expression> and <number> #164

Open zygoloid opened 1 year ago

zygoloid commented 1 year ago

We require \ to be self-delimiting, but also sometimes follow an \ with an unnecessary E. We should remove those. This happens here:

And something similar happens here:

These last three manglings are also broken for another reason: they collide with the corresponding manglings with the \ replaced by a \, where the mangling could also be for an \. We could fix them by moving the _ to before the \.

zygoloid commented 1 year ago

(This should be tagged as ABI v2. These are too common to change now, except for DB / DU.)