diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-17 19:32:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-17 19:32:29 +0000 |
commit | 0bd58b0e81961313828aa9ac484ab6b0d6c8d970 (patch) | |
tree | 14a845ddec8f635ed099b782efeba746e0a4f928 /lib/Target/Mangler.cpp | |
parent | 753fb624fb90e77f53b69afa44b7abe99a919b60 (diff) | |
download | external_llvm-0bd58b0e81961313828aa9ac484ab6b0d6c8d970.zip external_llvm-0bd58b0e81961313828aa9ac484ab6b0d6c8d970.tar.gz external_llvm-0bd58b0e81961313828aa9ac484ab6b0d6c8d970.tar.bz2 |
stop the CBE from using Mangler::appendMangledName, which is a private function, it is mangling types, which don't matter how they are done.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mangler.cpp')
-rw-r--r-- | lib/Target/Mangler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mangler.cpp b/lib/Target/Mangler.cpp index 826f950..ef6defc 100644 --- a/lib/Target/Mangler.cpp +++ b/lib/Target/Mangler.cpp @@ -58,8 +58,8 @@ static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) { /// appendMangledName - Add the specified string in mangled form if it uses /// any unusual characters. -void Mangler::appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str, - const MCAsmInfo *MAI) { +static void appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str, + const MCAsmInfo *MAI) { // The first character is not allowed to be a number unless the target // explicitly allows it. if ((MAI == 0 || !MAI->doesAllowNameToStartWithDigit()) && |