[llvm] r213890 - Use the same .eh_frame encoding for 32bit PPC as on i386.

Rafael Avila de Espindola rafael.espindola at gmail.com
Thu Jul 24 14:34:57 PDT 2014


Testcase?

Sent from my iPhone

> On Jul 24, 2014, at 15:25, Joerg Sonnenberger <joerg at bec.de> wrote:
> 
> Author: joerg
> Date: Thu Jul 24 14:25:16 2014
> New Revision: 213890
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=213890&view=rev
> Log:
> Use the same .eh_frame encoding for 32bit PPC as on i386.
> 
> Modified:
>    llvm/trunk/lib/MC/MCObjectFileInfo.cpp
> 
> Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=213890&r1=213889&r2=213890&view=diff
> ==============================================================================
> --- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)
> +++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Thu Jul 24 14:25:16 2014
> @@ -286,6 +286,7 @@ void MCObjectFileInfo::InitELFMCObjectFi
>     if (Ctx->getAsmInfo()->getExceptionHandlingType() == ExceptionHandling::ARM)
>       break;
>     // Fallthrough if not using EHABI
> +  case Triple::ppc:
>   case Triple::x86:
>     PersonalityEncoding = (RelocM == Reloc::PIC_)
>      ? dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list