diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:37:32 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-16 18:37:32 +0000 |
| commit | 555ceabe64d5b45e5a36a6a15be9372423e26473 (patch) | |
| tree | cbaec9200ab3964cc6d74bfc150d01d591be17f3 /llvm/include | |
| parent | 8a1f23af110e58c78c5f2d5d5e015ed1cd848129 (diff) | |
| download | bcm5719-llvm-555ceabe64d5b45e5a36a6a15be9372423e26473.tar.gz bcm5719-llvm-555ceabe64d5b45e5a36a6a15be9372423e26473.zip | |
rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase,
and add an explicit ForcePrivate argument.
Switch FunctionEHFrameInfo to be MCSymbol based instead of string based.
llvm-svn: 93646
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index ca8a1630630..0899c432a87 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/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. |

