[cxx-abi-dev] RE: [cxx-abi] [cxx-abi-dev] Mangling unary plus
Mark Mitchell
mark at codesourcery.com
Fri Oct 11 19:00:32 UTC 2002
--On Thursday, October 10, 2002 11:54:50 PM -0700 Dennis Handly
<dhandly at cup.hp.com> wrote:
>> We already know that aCC doesn't match the ABI spec in much more serious
>> ways than this.
>> How do we reach consensus?
> Mark Mitchell mark at codesourcery.com
>
> I guess if you have those g++ flags, and since aC++ is already different,
> the right way is to add that "ps" for unary +.
Good. I'm going to take that as consensus, since nobody else has
objected. (Intel originally moved for "pl", but has not objected since
I pointed out that was actually ambiguous.)
Here is the patch I've checked in.
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
Index: abi.html
===================================================================
RCS file: /usr/local/Repository/cxx-abi/abi.html,v
retrieving revision 1.34
diff -c -5 -p -r1.34 abi.html
*** abi.html 9 Oct 2002 02:24:30 -0000 1.34
--- abi.html 11 Oct 2002 18:59:54 -0000
*************** the first of which is lowercase.
*** 3908,3917 ****
--- 3908,3918 ----
<pre><font color=blue><code>
<operator-name> ::= nw # new
::= na # new[]
::= dl # delete
::= da # delete[]
+ ::= ps # + (unary)
::= ng # - (unary)
::= ad # & (unary)
::= de # * (unary)
::= co # ~
::= pl # +
*************** unwind table location.
*** 4870,4879 ****
--- 4871,4884 ----
<p> <hr> <p>
<a name=revisions>
<h2> Appendix R: Revision History </h2>
<p> <hr> <p>
+
+ <p>
+ <font color=blue>[021011]</font>
+ Add mangling for unary plus.
<p>
<font color=blue>[021008]</font>
Make the names used for constructors and destructor entry points
consistent throughout.
More information about the cxx-abi-dev
mailing list