diff options
Diffstat (limited to 'include/llvm/Target/Mangler.h')
-rw-r--r-- | include/llvm/Target/Mangler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/Mangler.h b/include/llvm/Target/Mangler.h index 07ff7e2..8caa623 100644 --- a/include/llvm/Target/Mangler.h +++ b/include/llvm/Target/Mangler.h @@ -18,6 +18,7 @@ #include <string> namespace llvm { +class StringRef; class Twine; class Value; class GlobalValue; @@ -67,6 +68,11 @@ public: /// have a name, this fills in a unique name for the global. std::string getNameWithPrefix(const GlobalValue *GV, bool isImplicitlyPrivate = false); + + /// appendMangledName - Add the specified string in mangled form if it uses + /// any unusual characters. + static void appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str, + const MCAsmInfo *MAI); }; } // End llvm namespace |