[cfe-commits] r90587 - /cfe/trunk/lib/CodeGen/Mangle.cpp
Sean Hunt
rideau3 at gmail.com
Fri Dec 4 13:01:38 PST 2009
Author: coppro
Date: Fri Dec 4 15:01:37 2009
New Revision: 90587
URL: http://llvm.org/viewvc/llvm-project?rev=90587&view=rev
Log:
Switch mangling of literal operator names to a string that's
a) legal
b) likely to be chosen as the official mangling
This will break ABI compatibility with all literal operator names,
so you may need to recompile any such code. Sorry.
Modified:
cfe/trunk/lib/CodeGen/Mangle.cpp
Modified: cfe/trunk/lib/CodeGen/Mangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/Mangle.cpp?rev=90587&r1=90586&r2=90587&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/Mangle.cpp (original)
+++ cfe/trunk/lib/CodeGen/Mangle.cpp Fri Dec 4 15:01:37 2009
@@ -483,7 +483,7 @@
case DeclarationName::CXXLiteralOperatorName:
// Guessing based on existing ABI.
- Out << "ul";
+ Out << "li";
mangleSourceName(Name.getCXXLiteralIdentifier());
break;
More information about the cfe-commits
mailing list