aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-26 23:14:39 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-26 23:14:39 +0000
commit189d59cfc762d0f683b9253ddec2cf519ec85b65 (patch)
tree3fae2966cbf08b59edf48773253101c9cc4d296d /lib/CodeGen/Mangle.cpp
parent8c0315563f05a9face7209221325019e272075fb (diff)
Mangle ::std::basic_string as Sb.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r--lib/CodeGen/Mangle.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp
index 639d719b79..ff2388e798 100644
--- a/lib/CodeGen/Mangle.cpp
+++ b/lib/CodeGen/Mangle.cpp
@@ -1149,6 +1149,12 @@ bool CXXNameMangler::mangleStandardSubstitution(const NamedDecl *ND) {
Out << "Sa";
return true;
}
+
+ // <<substitution> ::= Sb # ::std::basic_string
+ if (TD->getIdentifier()->isStr("basic_string")) {
+ Out << "Sb";
+ return true;
+ }
}
return false;