Mark that the Sun compiler includes the return type in the mangling
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 20 Apr 2012 11:24:05 +0000 (13:24 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Apr 2012 01:09:56 +0000 (03:09 +0200)
commite5a3217349ea03a9615868c562e454e1407bc4c5
tree5a6e4d241befd292f8fef9b3e77774d5630b4154
parent71172159badaa5ac53333614823853e731c73553
Mark that the Sun compiler includes the return type in the mangling

Source: http://developers.sun.com/solaris/articles/external_linkage.html
   %dem __1cFgreet6F_pc_
   __1cFgreet6F_pc_ == char*greet()

Source: http://www.oracle.com/technetwork/articles/servers-storage-dev/stablecplusplusabi-333927.html
Function Mangled Name
float f(float) __1cBf6Ff_f_
int f(int) __1cBf6Fi_i_
int T::f(int) __1cBTBf6Mi_i_
int T::f(char*) __1cBTBf6Mpc_i_
int T::U::f(int) __1cBTBUBf6Mi_i_
int N::T::f(int) __1cBNBTBf6Mi_i_

Change-Id: Ibe1934f1c137d1657fb122cbf1a1b1fbc3e4a202
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/corelib/global/qcompilerdetection.h