summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commit836100626452e656a893142c11e90353dcfd321e (patch)
treef395cf6bc74a4e37786f53afe9586daf29c58376 /llvm/include
parentb34888b6d043903071a41a38fcad536acea18c8c (diff)
downloadbcm5719-llvm-836100626452e656a893142c11e90353dcfd321e.tar.gz
bcm5719-llvm-836100626452e656a893142c11e90353dcfd321e.zip
expose a static function as a static method on the MCSymbol class.
llvm-svn: 93350
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/MC/MCSymbol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCSymbol.h b/llvm/include/llvm/MC/MCSymbol.h
index cfe04d8855e..eb594532fe0 100644
--- a/llvm/include/llvm/MC/MCSymbol.h
+++ b/llvm/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
OpenPOWER on IntegriCloud