aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCSymbol.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-13 21:09:59 +0000
committerChris Lattner <sabre@nondot.org>2010-01-13 21:09:59 +0000
commit4564ec9ca7a01cea24b6491ffd90268bf2aa509c (patch)
tree44e65c866c753070d5c1eb6a20074c64a87ba585 /include/llvm/MC/MCSymbol.h
parent12360917ef08364050ef134ed70c69136465eaba (diff)
downloadexternal_llvm-4564ec9ca7a01cea24b6491ffd90268bf2aa509c.zip
external_llvm-4564ec9ca7a01cea24b6491ffd90268bf2aa509c.tar.gz
external_llvm-4564ec9ca7a01cea24b6491ffd90268bf2aa509c.tar.bz2
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.h5
1 files changed, 5 insertions, 0 deletions
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