diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-11 19:41:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-11 19:41:58 +0000 |
commit | 3192d14076dbe5724ce85b9d48644bb3c081f0e5 (patch) | |
tree | 0260739a7a5646ae7f1dc88fa018b6a7078bfc38 /include/llvm/Target/TargetLoweringObjectFile.h | |
parent | af1871fa6dc916ef1ab5b4b30cf56aa134fcff19 (diff) | |
download | external_llvm-3192d14076dbe5724ce85b9d48644bb3c081f0e5.zip external_llvm-3192d14076dbe5724ce85b9d48644bb3c081f0e5.tar.gz external_llvm-3192d14076dbe5724ce85b9d48644bb3c081f0e5.tar.bz2 |
rename getSymbolForDwarf* to getExprForDwarf* since it returns
an MCExpr and not an MCSymbol. Change it to take an MCStreamer,
which is currently unused.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r-- | include/llvm/Target/TargetLoweringObjectFile.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h index 056efea..7750cf0 100644 --- a/include/llvm/Target/TargetLoweringObjectFile.h +++ b/include/llvm/Target/TargetLoweringObjectFile.h @@ -22,11 +22,12 @@ namespace llvm { class MachineModuleInfo; class Mangler; class MCAsmInfo; + class MCContext; class MCExpr; class MCSection; class MCSectionMachO; class MCSymbol; - class MCContext; + class MCStreamer; class GlobalValue; class TargetMachine; @@ -197,17 +198,20 @@ public: return 0; } - /// getSymbolForDwarfGlobalReference - Return an MCExpr to use for a reference + /// getExprForDwarfGlobalReference - Return an MCExpr to use for a reference /// to the specified global variable from exception handling information. /// virtual const MCExpr * - getSymbolForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, - MachineModuleInfo *MMI, unsigned Encoding) const; - - virtual const MCExpr * - getSymbolForDwarfReference(const MCSymbol *Sym, MachineModuleInfo *MMI, - unsigned Encoding) const; + getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang, + MachineModuleInfo *MMI, unsigned Encoding, + MCStreamer &Streamer) const; + /// + const MCExpr * + getExprForDwarfReference(const MCSymbol *Sym, MachineModuleInfo *MMI, + unsigned Encoding, + MCStreamer &Streamer) const; + virtual unsigned getPersonalityEncoding() const; virtual unsigned getLSDAEncoding() const; virtual unsigned getFDEEncoding() const; |