diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-13 21:09:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-13 21:09:59 +0000 |
commit | 4564ec9ca7a01cea24b6491ffd90268bf2aa509c (patch) | |
tree | 44e65c866c753070d5c1eb6a20074c64a87ba585 /include/llvm/MC/MCSymbol.h | |
parent | 12360917ef08364050ef134ed70c69136465eaba (diff) |
expose a static function as a static method on the MCSymbol class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSymbol.h')
-rw-r--r-- | include/llvm/MC/MCSymbol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index cfe04d8855..eb594532fe 100644 --- a/include/llvm/MC/MCSymbol.h +++ b/include/llvm/MC/MCSymbol.h @@ -136,6 +136,11 @@ namespace llvm { /// dump - Print the value to stderr. void dump() const; + + /// printMangledName - Print the specified string in mangled form if it uses + /// any unusual characters. + static void printMangledName(StringRef Str, raw_ostream &OS, + const MCAsmInfo *MAI); }; } // end namespace llvm |