From 6bd6a7083760a6bfa5743fe121638aea7c505d85 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 28 Apr 2011 21:04:39 +0000 Subject: Add the getExprForFDESymbol method that responsible for computing the expressions used in the FDE to refer to symbols. llvm-svn: 130437 --- llvm/lib/MC/MCAsmInfoDarwin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp') 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(); -- cgit v1.2.3