From 4564ec9ca7a01cea24b6491ffd90268bf2aa509c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 13 Jan 2010 21:09:59 +0000 Subject: 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 --- include/llvm/MC/MCSymbol.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/llvm/MC/MCSymbol.h') diff --git a/include/llvm/MC/MCSymbol.h b/include/llvm/MC/MCSymbol.h index cfe04d8..eb59453 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 -- cgit v1.1