aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-02-04 01:48:38 +0000
committerJohn McCall <rjmccall@apple.com>2010-02-04 01:48:38 +0000
commita3218e7399a99ec7f64c2efc027d9f61eaeb0ad4 (patch)
tree7e4f3ce1daf10f1ede5e561f250e0e41708f8529 /lib/CodeGen/Mangle.cpp
parent1dd7383dc48718c452e71a625b29531dd96fbb9d (diff)
Add a cautionary note about the mangling I just invented.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r--lib/CodeGen/Mangle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp
index bf58c19136..97fb393e0e 100644
--- a/lib/CodeGen/Mangle.cpp
+++ b/lib/CodeGen/Mangle.cpp
@@ -1152,6 +1152,9 @@ void CXXNameMangler::mangleExpression(const Expr *E) {
}
case Expr::UnresolvedLookupExprClass: {
+ // The ABI doesn't cover how to mangle overload sets, so we mangle
+ // using something as close as possible to the original lookup
+ // expression.
const UnresolvedLookupExpr *ULE = cast<UnresolvedLookupExpr>(E);
mangleUnresolvedName(ULE->getQualifier(), ULE->getName(), UnknownArity);
break;