diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-14 01:28:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-14 01:28:34 +0000 |
commit | e3870fbe4a7eb2709cfff60c4b1c433be8835e66 (patch) | |
tree | c7ebef8c0bc599da767420cfb44c365bcf9407b0 /llvm/lib/VMCore/Mangler.cpp | |
parent | d59e5a7abbb0f0d90f47495fc6a95e9d640ea7fa (diff) | |
download | bcm5719-llvm-e3870fbe4a7eb2709cfff60c4b1c433be8835e66.tar.gz bcm5719-llvm-e3870fbe4a7eb2709cfff60c4b1c433be8835e66.zip |
Allow $
llvm-svn: 23721
Diffstat (limited to 'llvm/lib/VMCore/Mangler.cpp')
-rw-r--r-- | llvm/lib/VMCore/Mangler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Mangler.cpp b/llvm/lib/VMCore/Mangler.cpp index 2dc0767f9b1..159fde6366f 100644 --- a/llvm/lib/VMCore/Mangler.cpp +++ b/llvm/lib/VMCore/Mangler.cpp @@ -44,7 +44,7 @@ std::string Mangler::makeNameProper(const std::string &X, const char *Prefix) { for (std::string::const_iterator E = X.end(); I != E; ++I) if ((*I < 'a' || *I > 'z') && (*I < 'A' || *I > 'Z') && - (*I < '0' || *I > '9') && *I != '_') + (*I < '0' || *I > '9') && *I != '_' && *I != '$') Result += MangleLetter(*I); else Result += *I; |