aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-15 23:25:11 +0000
committerChris Lattner <sabre@nondot.org>2010-01-15 23:25:11 +0000
commitd588b97cc9acf778282ab10efa4f298cead1215a (patch)
tree30c50356149bc040d365b8acc317b451cd3fa163 /include
parentee9c595885636ccec635a82ffd49c5ab825c7839 (diff)
downloadexternal_llvm-d588b97cc9acf778282ab10efa4f298cead1215a.zip
external_llvm-d588b97cc9acf778282ab10efa4f298cead1215a.tar.gz
external_llvm-d588b97cc9acf778282ab10efa4f298cead1215a.tar.bz2
add another helper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index bd90238..19634cf 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -343,6 +343,12 @@ namespace llvm {
/// value.
MCSymbol *GetGlobalValueSymbol(const GlobalValue *GV) const;
+ /// GetPrivateGlobalValueSymbolStub - Return the MCSymbol for a symbol with
+ /// global value name as its base, with the specified suffix, and where the
+ /// symbol is forced to have private linkage.
+ MCSymbol *GetPrivateGlobalValueSymbolStub(const GlobalValue *GV,
+ StringRef Suffix) const;
+
/// GetExternalSymbolSymbol - Return the MCSymbol for the specified
/// ExternalSymbol.
MCSymbol *GetExternalSymbolSymbol(StringRef Sym) const;