GCC C++ Name mangling reference

后端 未结 1 1860
鱼传尺愫
鱼传尺愫 2021-02-12 22:53

Looking around, I see mostly questions about demangling C++ symbols rather than how to mangle them. Yes, one could invoke g++, using the -S option, on

相关标签:
1条回答
  • 2021-02-12 23:38

    Quote from gcc's sources(https://github.com/gcc-mirror/gcc/blob/master/gcc/cp/mangle.c):

    This file implements mangling of C++ names according to the IA64 C++ ABI specification.

    And here is the rules from this specification: https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling

    0 讨论(0)
提交回复
热议问题