More mangling issues

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Mar 10 19:44:52 UTC 2000


I found a number of new problems with mangling: The compression scheme
mentions the order of type recording qualifiers and templates; a
similar mechanism probably applies to:

- function types
- array types
- pointer-to-member types

E.g. a for an array type, the array is less recent than the element
type.

Another issue: for pointer-to-member types, is the M qualifier already
pointer in itself? I.e. given

  _Z3fooPM2ABi

Is this foo(int AB::*) or foo(int AB::**)? Same for functions, which
leads to the question what _Z3fooPPM2ABFiE is.

Martin




More information about the cxx-abi-dev mailing list