aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 18:37:32 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 18:37:32 +0000
commit7a2ba94d03b43f41b54872dacd7b2250dde4c7bd (patch)
treeb167011b1fa1c795bf90bb05eb25578292fdbf67 /include/llvm/CodeGen
parent08ce3b473d06e0f7806df3d44b7b36ac40c58803 (diff)
rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase,
and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index ca8a163063..0899c432a8 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -344,11 +344,12 @@ namespace llvm {
/// value.
MCSymbol *GetGlobalValueSymbol(const GlobalValue *GV) const;
- /// GetPrivateGlobalValueSymbolStub - Return the MCSymbol for a symbol with
+ /// GetSymbolWithGlobalValueBase - 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;
+ /// symbol is forced to have private linkage if ForcePrivate is true.
+ MCSymbol *GetSymbolWithGlobalValueBase(const GlobalValue *GV,
+ StringRef Suffix,
+ bool ForcePrivate = true) const;
/// GetExternalSymbolSymbol - Return the MCSymbol for the specified
/// ExternalSymbol.