diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-28 21:04:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-28 21:04:39 +0000 |
commit | 6bd6a7083760a6bfa5743fe121638aea7c505d85 (patch) | |
tree | a1855b73f4e7a1cac3967a67cc65b3e358888cfb /llvm/lib/MC/MCAsmInfoDarwin.cpp | |
parent | 68ebae61d1e51c2741c14bc9f1995270c84f51a6 (diff) | |
download | bcm5719-llvm-6bd6a7083760a6bfa5743fe121638aea7c505d85.tar.gz bcm5719-llvm-6bd6a7083760a6bfa5743fe121638aea7c505d85.zip |
Add the getExprForFDESymbol method that responsible for computing the
expressions used in the FDE to refer to symbols.
llvm-svn: 130437
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 04862fae161..fea1548f462 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -61,8 +61,8 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { } const MCExpr * -MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym, - MCStreamer &Streamer) const { +MCAsmInfoDarwin::getExprForFDESymbol(const MCSymbol *Sym, + MCStreamer &Streamer) const { MCContext &Context = Streamer.getContext(); const MCExpr *Res = MCSymbolRefExpr::Create(Sym, Context); MCSymbol *PCSym = Context.CreateTempSymbol(); |